最近我在旧机器上安装了旧版本的 Ubuntu。每当我尝试安装任何软件时,都会收到一条错误消息,说找不到它:
$ sudo apt-get install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package vlc
Run Code Online (Sandbox Code Playgroud) upgrade package-management support repository release-management
尝试在 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 …Run Code Online (Sandbox Code Playgroud)