仓库挂了?我该怎么解决?

我在尝试在一个Ubuntu服务器10.04 LTS实例上安装Samba时遇到了以下错误:
无法获取http://us.archive.ubuntu.com/ubuntu/pool/main/s/samba/libwbclient0_3.4.7~dfsg-1ubuntu3.6_i386.deb 404 Not Found [IP: 91.189.88.31 80]
有没有办法绕过这个问题,这样我就不必等待更新服务器恢复正常了?将来如何防止这种情况发生?
编辑:我在askubuntu上找到了一个非常相似的帖子:Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/Release 但是Lekensteyn的答案不起作用(尽管它对提问者有帮助)...即使我切换到in.archive.ubuntu.com仓库后,我仍然遇到以下问题:
root@orbital /home# apt-get install samba
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  samba: Depends: samba-common-bin but it is not going to be installed
         Depends: libwbclient0 (= 2:3.4.7~dfsg-1ubuntu3.4) but it is not going to be installed
         Depends: libtalloc2 (>= 2.0.0) but it is not installable
         Depends: update-inetd but it is not installable
E: Broken packages

如果其他方法都失败了,我怎么知道仓库什么时候再次可用?

先备份/etc/apt/sources.list文件,然后将sources.list中所有的"us."替换为"gb.",即英国镜像。但是无法回答你问题的第二部分,所以这只是一个评论而不是答案。祝好运! - fossfreedom
1这个回答可能会有帮助。http://askubuntu.com/questions/37753/how-can-i-get-apt-to-use-a-mirror-close-to-me - fossfreedom
2个回答

你需要运行apt-get update来确保在安装软件包之前,你的软件包列表是最新的。
对于samba而言,当前版本是2:3.4.7~dfsg-1ubuntu3.7

正是我即将要写的内容。 - Nathan Osman
我最后使用了另一个源,然后在apt-get update之后它正常工作了。谢谢! - r00fus

软件源让你可以选择“下载自”,以便更改存储库来源。也许不同的选择对你有用。如果你选择“其他”,你会发现即使在美国也有很多选择。一个标有“选择最佳服务器”的按钮会为你优化选择,以获得更好的性能。

1我没有图形用户界面,这是Ubuntu服务器。 - r00fus