我有一堆生产中的旧机器运行uBuntu 9.10。 我想现在升级到10.04发行版,但我得到以下错误(因为存储库已经过期,我猜)
The following packages have unmet dependencies: update-manager-core: Depends: python-apt (>= 0.7.5) but it is not going to be installed E: Broken packages
我所有的apt-get update / apt-get升级命令都失败了,出现错误
Ign http://security.ubuntu.com jaunty-security Release.gpg Ign http://us.archive.ubuntu.com jaunty Release.gpg Ign http://us.archive.ubuntu.com jaunty-updates Release.gpg Ign http://security.ubuntu.com jaunty-security Release Ign http://us.archive.ubuntu.com jaunty Release Ign http://security.ubuntu.com jaunty-security/main Packages Ign http://us.archive.ubuntu.com jaunty-updates Release Ign http://security.ubuntu.com jaunty-security/restricted Packages Ign http://security.ubuntu.com jaunty-security/main Sources Ign http://security.ubuntu.com jaunty-security/restricted Sources Ign http://us.archive.ubuntu.com jaunty/main Packages Ign http://us.archive.ubuntu.com jaunty/restricted Packages Ign http://us.archive.ubuntu.com jaunty/main Sources Ign http://us.archive.ubuntu.com jaunty/restricted Sources Ign http://us.archive.ubuntu.com jaunty/universe Packages Ign http://security.ubuntu.com jaunty-security/main Packages Ign http://security.ubuntu.com jaunty-security/restricted Packages Ign http://security.ubuntu.com jaunty-security/main Sources Ign http://us.archive.ubuntu.com jaunty/universe Sources Ign http://us.archive.ubuntu.com jaunty-updates/universe Packages Ign http://us.archive.ubuntu.com jaunty-updates/universe Sources Ign http://us.archive.ubuntu.com jaunty/main Packages Ign http://us.archive.ubuntu.com jaunty/restricted Packages Ign http://us.archive.ubuntu.com jaunty/main Sources Ign http://security.ubuntu.com jaunty-security/restricted Sources Err http://security.ubuntu.com jaunty-security/main Packages 404 Not Found [IP: 91.189.92.166 80] Ign http://us.archive.ubuntu.com jaunty/restricted Sources Ign http://us.archive.ubuntu.com jaunty/universe Packages Err http://security.ubuntu.com jaunty-security/restricted Packages 404 Not Found [IP: 91.189.92.166 80] Err http://security.ubuntu.com jaunty-security/main Sources 404 Not Found [IP: 91.189.92.166 80] Err http://security.ubuntu.com jaunty-security/restricted Sources 404 Not Found [IP: 91.189.92.166 80] Ign http://us.archive.ubuntu.com jaunty/universe Sources Ign http://us.archive.ubuntu.com jaunty-updates/universe Packages Ign http://us.archive.ubuntu.com jaunty-updates/universe Sources Err http://us.archive.ubuntu.com jaunty/main Packages 404 Not Found [IP: 91.189.92.171 80] Err http://us.archive.ubuntu.com jaunty/restricted Packages 404 Not Found [IP: 91.189.92.171 80] Err http://us.archive.ubuntu.com jaunty/main Sources 404 Not Found [IP: 91.189.92.171 80] Err http://us.archive.ubuntu.com jaunty/restricted Sources 404 Not Found [IP: 91.189.92.171 80] Err http://us.archive.ubuntu.com jaunty/universe Packages 404 Not Found [IP: 91.189.92.171 80] Err http://us.archive.ubuntu.com jaunty/universe Sources 404 Not Found [IP: 91.189.92.171 80] Err http://us.archive.ubuntu.com jaunty-updates/universe Packages 404 Not Found [IP: 91.189.92.171 80] Err http://us.archive.ubuntu.com jaunty-updates/universe Sources 404 Not Found [IP: 91.189.92.171 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/main/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.166 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/restricted/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.166 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/main/source/Sources.gz 404 Not Found [IP: 91.189.92.166 80] W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/main/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.171 80] W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/restricted/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.171 80] W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/main/source/Sources.gz 404 Not Found [IP: 91.189.92.171 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/restricted/source/Sources.gz 404 Not Found [IP: 91.189.92.166 80] W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/restricted/source/Sources.gz 404 Not Found [IP: 91.189.92.171 80] W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/universe/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.171 80] W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/universe/source/Sources.gz 404 Not Found [IP: 91.189.92.171 80] W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty-updates/universe/binary-i386/Packages.gz 404 Not Found [IP: 91.189.92.171 80] W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty-updates/universe/source/Sources.gz 404 Not Found [IP: 91.189.92.171 80] E: Some index files failed to download, they have been ignored, or old ones used instead.
任何人都可以帮助我接下来的步骤,以及如何解决这个问题。 如果有任何PPA或任何其他存储库维护与所有依赖关系的update-manager-core,那么我很乐意使用它。
感谢Sparsh Gupta
如果LucidUpgrades不能工作,直接从Jaunty转到Lucid并跳过Karmic。 先备份有价值的数据,
以root身份运行:
cd /etc/apt perl -i.bak -pe 's/jaunty/lucid/' sources.list aptitude update aptitude dist-upgrade