即使不是发布日,从主 Ubuntu 存档下载也很慢,我如何让 apt-get 自动使用离我很近的镜像?
请让我知道如何在 Ubuntu 11.04 中删除某些存储库。更新时出现以下错误。
sudo apt-get update
Err http://ppa.launchpad.net natty/main Sources
404 Not Found
Err http://ppa.launchpad.net natty/main i386 Packages
404 Not Found
......
E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud) 此问题包含对 Ubuntu 中错误的规避:
以及一些关于在执行 apt-get update 时节省带宽的一般建议。
该错误已于2012 年 8 月 8 日关闭,因此如果该错误再次出现,您可能只需要与此问题相关的信息。如果发生这种情况,请在 Launchpad 上提交另一个错误报告。
我对 Ubuntu 12.04 进行了全新安装,到目前为止一切运行良好。我特别赞扬 Ubuntu 团队的这个版本。
我只注意到存储库更新的大小现在约为 13MB。通常,apt-get update在干净安装后第一次运行时大约是这个大小,然后是 ~ 23kb - 1300kb 用于后续更新。
来自apt-get update以前版本的 Ubuntu的输出与我得到的相同(非常正常)。它有点太长了,但看看我从运行中得到的示例输出apt-get update。
Ign http://archive.canonical.com precise InRelease
Ign http://dl.google.com stable InRelease
Ign http://dl.google.com stable InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Hit http://download.virtualbox.org precise InRelease
Ign http://security.ubuntu.com precise-security InRelease
Ign http://linux.dropbox.com …Run Code Online (Sandbox Code Playgroud) 如何选择 Ubuntu 将从哪个服务器获取其软件和更新?我知道如何在网上找到镜像列表,但不知道如何使用它们。