存储库关闭?我该如何解决?

r00*_*fus 4 10.04 apt software-sources

尝试在 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 上发现了一个非常相似的帖子:无法获取 http://in.archive.ubuntu.com/ubuntu/dists/maverick/Release

但是 Lekensteyn 的回答不起作用(尽管它帮助了给定问题的作者)......我仍然得到以下信息(在将 repo 切换到 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
Run Code Online (Sandbox Code Playgroud)

如果所有其他方法都失败了,我如何知道存储库何时再次可用?

ajm*_*tch 6

apt-get update在安装软件包之前,您需要运行以确保您的软件包列表是最新的。

对于 samba,当前版本是2:3.4.7~dfsg-1ubuntu3.7.