我的指示器小程序中有一个小红十字图标,悬停时它会显示检查更新时出现错误。因此,我无法通过编辑选定的存储库突触,它拒绝打开对话框而只是尝试更新包列表。
Get:1 http://dl.google.com stable Release.gpg [197B]
Hit http://archive.ubuntu.com maverick Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Hit http://extras.ubuntu.com maverick Release.gpg
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/elementaryart/ppa/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/elementaryart/ppa/ubuntu/ maverick/main Translation-en_GB
Ign http://dl.google.com/linux/chrome/deb/ stable/main Translation-en
Hit http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Hit http://archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Hit http://archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Hit http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_GB
Hit http://archive.ubuntu.com maverick-updates Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en_GB
Hit http://extras.ubuntu.com maverick Release
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/nikount/orta-desktop/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/nikount/orta-desktop/ubuntu/ maverick/main Translation-en_GB
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/stk/dev/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/stk/dev/ubuntu/ maverick/main Translation-en_GB
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/tiheum/equinox/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/tiheum/equinox/ubuntu/ maverick/main Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en_GB
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://extras.ubuntu.com maverick/main Sources
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en_GB
Hit http://archive.ubuntu.com maverick-security Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/main Translation-en_GB
Hit http://ppa.launchpad.net maverick Release
Hit http://extras.ubuntu.com maverick/main i386 Packages
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Ign http://dl.google.com/linux/chrome/deb/ stable/main Translation-en_GB
Ign http://archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-en_GB
Hit http://archive.ubuntu.com maverick Release
Hit http://archive.ubuntu.com maverick-updates Release
Hit http://archive.ubuntu.com maverick-security Release
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Get:2 http://dl.google.com stable Release.gpg [197B]
Hit http://archive.ubuntu.com maverick/main Sources
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick/restricted Sources
Hit http://archive.ubuntu.com maverick/universe Sources
Hit http://archive.ubuntu.com maverick/multiverse Sources
Hit http://archive.ubuntu.com maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick/restricted i386 Packages
Hit http://archive.ubuntu.com maverick/universe i386 Packages
Hit http://archive.ubuntu.com maverick/multiverse i386 Packages
Hit http://archive.ubuntu.com maverick-updates/main Sources
Ign http://dl.google.com/linux/talkplugin/deb/ stable/main Translation-en
Hit http://archive.ubuntu.com maverick-updates/restricted Sources
Hit http://archive.ubuntu.com maverick-updates/universe Sources
Hit http://archive.ubuntu.com maverick-updates/multiverse Sources
Hit http://archive.ubuntu.com maverick-updates/main i386 Packages
Hit http://archive.ubuntu.com maverick-updates/restricted i386 Packages
Hit http://archive.ubuntu.com maverick-updates/universe i386 Packages
Hit http://archive.ubuntu.com maverick-updates/multiverse i386 Packages
Ign http://dl.google.com/linux/talkplugin/deb/ stable/main Translation-en_GB
Get:3 http://dl.google.com stable Release [1,347B]
Hit http://archive.ubuntu.com maverick-security/main Sources
Hit http://archive.ubuntu.com maverick-security/restricted Sources
Hit http://archive.ubuntu.com maverick-security/universe Sources
Hit http://archive.ubuntu.com maverick-security/multiverse Sources
Hit http://archive.ubuntu.com maverick-security/main i386 Packages
Hit http://archive.ubuntu.com maverick-security/restricted i386 Packages
Hit http://archive.ubuntu.com maverick-security/universe i386 Packages
Get:4 http://dl.google.com stable Release [1,347B]
Hit http://archive.ubuntu.com maverick-security/multiverse i386 Packages
Get:5 http://dl.google.com stable/main i386 Packages [1,076B]
Get:6 http://dl.google.com stable/main i386 Packages [735B]
Fetched 4,899B in 4s (1,060B/s)
Reading package lists...
答案1
第一步是去掉“中间人”工具,并使用代表您调用的命令:
sudo apt-get check && sudo apt-get update
# you may need to repeat the update if it complains
sudo apt-get upgrade
这些命令产生的任何错误在附加到您的原始问题时都会提供最有用的信息。如果失败check
,请按照其指示进行操作或停止并发布您的结果。
答案2
我刚刚遇到了同样的问题,并找到了一个更新的 /etc/apt/sources.list 文件,该文件与之前的不同之处在于它使用了http://76.73.4.58/ubuntu而不是 us.archive.ubuntu.com/ubuntu。当我用旧文件替换最新的 sources.list 文件时,apt-get upgrade 起作用了。
答案3
您需要调整您的 sources.list 文件,然后sudo apt-get update
运行sudo apt-get upgrade
。
这些ignore
声明是因为您可能仍然有当前列出的域名,例如us.archive.ubuntu.com
只需确保/etc/apt/sources.list
您拥有http://old.releases.ubuntu.com
所有的存储库即可。
以下是我必须测试的修复的视频网址: https://youtu.be/dDWwcW5e6eI