vmware ubuntu apt-get update 失敗

apt-get update報錯:

Err:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
  Temporary failure resolving 'security.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu xenial InRelease
  Temporary failure resolving 'archive.ubuntu.com'
.........
網上看了很多問題是dns配置問題,修改不解決問題。

ifconfig發現ip爲127.0.0.1,結果原因是我切換了網絡,重啓了Ubuntu,成功apt-get update的錯誤

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章