我知道不再支持 Ubuntu 10.04。
但我仍在使用它,因为我使用虚拟机 (VirtualBox),并且在之前的试验中,使用任何更新的 Ubuntu 版本在我的机器上太重,太慢。
现在,当我尝试做:
apt-get update
Run Code Online (Sandbox Code Playgroud)
我收到一堆错误:
...
Ign http://il.archive.ubuntu.com lucid-updates/multiverse Packages
Ign http://il.archive.ubuntu.com lucid-updates/multiverse Sources
Err http://il.archive.ubuntu.com lucid/main Packages
404 Not Found
Err http://il.archive.ubuntu.com lucid/restricted Packages
404 Not Found
...
Err http://security.ubuntu.com lucid-security/main Packages
404 Not Found [IP: 91.189.88.162 80]
...
W: Failed to fetch http://il.archive.ubuntu.com/ubuntu/dists/lucid/universe/binary-i386/Packages.gz 404 Not Found
Run Code Online (Sandbox Code Playgroud)
我确信我过去曾经这样做过,没有任何问题。
是因为 Ubuntu 10.04 已从这些存储库中删除,还是其他一些问题?
我可以使用以下命令获取所有可用包及其详细信息的列表:
apt-cache search .
Run Code Online (Sandbox Code Playgroud)
它输出如下所示的包列表:
i 0ad - Real-time strategy game of ancient warfare
i 0ad-data - Real-time strategy game of ancient warfare (data files)
i 0ad-data-common - Real-time strategy game of ancient warfare (common data files)
p 0ad-dbg - Real-time strategy game of ancient warfare (debug)
p 0xffff - Open Free Fiasco Firmware Flasher
p 2ping - Ping utility to determine directional packet loss
p 2vcard - perl script to convert an addressbook to VCARD file format
p 3270-common …Run Code Online (Sandbox Code Playgroud)