Skip to main content

rebuild error: 'localhost did not have any working mirrors'

Comments

3 comments

  • cPanelMichael
    root@dev2 [~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 127.0.1.1 localhost dev 172.16.135.112 edinburgh.example.com 208.36.133.110 dev.example.tv 172.16.135.114 dev2.mysite.com dev2 dev.mysite.com.novalocal dev dev.mysite.com

    Hello, Does the issue persist if you remove the "localhost" entry from the 127.0.1.1 line in the /etc/hosts file? Thank you.
    0
  • Pputnik
    Yep, it works now! have no idea where that line came from. Thank you very much.
    0
  • cPanelMichael
    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.