web-dev-qa-db-ja.com

壊れたリポジトリ情報を修正するには?

インジケーターアプレットに小さな赤い十字アイコンがあり、ホバリングすると更新の確認中にエラーが発生したと表示されます。このため、 synapticで選択したリポジトリを編集しないでください。ダイアログを開くことを拒否し、代わりにパッケージリストを更新しようとします。

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...
4
aviraldg

最初のステップは、「中間者」ツールを切り取り、ユーザーに代わって呼び出されるコマンドを操作することです。

 Sudo apt-get check && Sudo apt-get update 
 # you may need to repeat the update if it complains
 Sudo apt-get upgrade

これらのコマンドによって生成されるエラーは、元の質問に追加されたときに最も情報量が多くなります。 checkが失敗した場合は、指示どおりに実行するか、結果を停止して投稿します。

4
msw

Sources.listファイルを調整し、Sudo apt-get updateを実行してからSudo apt-get upgradeを実行する必要があります。

これらのignoreクレームは、us.archive.ubuntu.comのように現在のドメインがまだリストされている可能性があるためです。

/etc/apt/sources.listですべてのリポジトリにhttp://old.releases.ubuntu.comがあることを確認してください。

以下に、テストする必要があった私の修正のビデオURLを示します。 https://youtu.be/dDWwcW5e6eI

0
Kent C.

私はちょうど同じ問題があり、us.archiveの代わりに http://76.73.4.58/ubunt を使用していた点で以前のものとは異なる更新された/etc/apt/sources.listファイルを見つけました。 .ubuntu.com/ubuntu。最新のsources.listファイルを古いファイルで置き換えたとき、apt-getアップグレードは機能しました。

0
user11024