15.04 服务器更新失败,无法获取临时故障解决错误

15.04 服务器更新失败,无法获取临时故障解决错误

我无法做到sudo apt-get update;当我尝试时,它给我带来了大量无法获取所有内容的信息。我不知道哪里出了问题。我搜索了文件sources.list应该是什么样子,它对我来说看起来是一样的。

Err http://nl.archive.ubuntu.com vivid InRelease
Err http://nl.archive.ubuntu.com vivid-updates InRelease
Err http://nl.archive.ubuntu.com vivid-backports InRelease
Err http://nl.security.ubuntu.com vivid InRelease
Err http://security.ubuntu.com vivid-security InRelease
Err http://archive.canonical.com vivid InRelease
Err http://nl.security.ubuntu.com vivid Release.gpg   Temporary failure resolving 'nl.security.ubuntu.com' Err http://security.ubuntu.com vivid-security Release.gpg   Temporary failure resolving 'security.ubuntu.com' Err http://archive.canonical.com vivid Release.gpg   Temporary failure resolving 'archive.canonical.com' Err http://nl.archive.ubuntu.com vivid Release.gpg   Temporary failure resolving 'nl.archive.ubuntu.com' Err http://nl.archive.ubuntu.com vivid-updates Release.gpg   Temporary failure resolving 'nl.archive.ubuntu.com' Err http://nl.archive.ubuntu.com vivid-backports Release.gpg   Temporary failure resolving 'nl.archive.ubuntu.com' Reading package lists... Done W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/dists/vivid/InRelease
W: Failed to fetch http://nl.security.ubuntu.com/ubuntu/dists/dists/vivid/InRelease
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/dists/vivid-updates/InRelease
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/vivid-backports/InRelease
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/vivid-security/InRelease
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/vivid/InRelease
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/dists/vivid/Release.gpg  Temporary failure resolving 'nl.archive.ubuntu.com'
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/dists/vivid-updates/Release.gpg Temporary failure resolving 'nl.archive.ubuntu.com'
W: Failed to fetch http://nl.archive.ubuntu.com/ubuntu/dists/vivid-backports/Release.gpg  Temporary failure resolving 'nl.archive.ubuntu.com'
W: Failed to fetch http://nl.security.ubuntu.com/ubuntu/dists/dists/vivid/Release.gpg  Temporary failure resolving 'nl.security.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/vivid-security/Release.gpg  Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/vivid/Release.gpg  Temporary failure resolving 'archive.canonical.com'
W: Some index files failed to download. They have been ignored, or old ones used instead..

答案1

我将默认 DNS 服务器更改为 Google DNS 服务器 8.8.8.8 和 8.8.4.4

现在我可以再次安装所有内容。

相关内容