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的錯誤