无法完成 sudo apt-get update

无法完成 sudo apt-get update

我刚刚安装了 Ubuntu 12.0.4 LTS (Precise Pangolin)。我尝试在 shell 上运行sudo apt-get update,但几秒钟后出现以下错误:

Err http://pk.archive.ubuntu.com precise Release.gpg
Could not connect to pk.archive.ubuntu.com:80 (58.65.218.244), connection timed out

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg Unable to connect to pk.archive.ubuntu.com:http:

W: Some index files failed to download. They have been ignored, or old ones used instead.

答案1

打开/etc/apt/sources.list并替换pk.archive.ubuntu.com存档.ubuntu.com,然后保存文件并运行sudo apt-get 更新

相关内容