ここ数日、私のUbuntu 11.10アップデートマネージャーは新しいアップデートを取得できません。更新ログを確認したところ、いくつかの更新で「ネットワークが利用できません」と表示されていました。その他の更新については、ログをダウンロードし、インターネット接続も正常に機能します。
スパム防止ポリシーのため、スクリーンショットを添付できません。ただし、以下のリリースgpgv:/var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_oneiric_Release.gpg
の場合
「ネットワークは利用できません」と表示されます
他のすべてのリリースでは、正常にダウンロードされます。このため、過去10日間に利用可能なアップデートは見当たりません。
LOGのSudo apt-get update:
dipen@EIDLCPU1018:~$ Sudo apt-get update
[Sudo] password for dipen:
Ign http:/extras.ubuntu.com oneiric InRelease
Ign http:/archive.canonical.com oneiric InRelease
Ign http:/archive.canonical.com lucid InRelease
Get:1 http:/extras.ubuntu.com oneiric Release.gpg [72 B]
Get:2 http:/archive.canonical.com oneiric Release.gpg [198 B]
Hit http:/extras.ubuntu.com oneiric Release
Get:3 http:/archive.canonical.com lucid Release.gpg [198 B]
Err http:/extras.ubuntu.com oneiric Release
Hit http:/archive.canonical.com oneiric Release
Ign http:/archive.canonical.com oneiric Release
Hit http:/archive.canonical.com lucid Release
Ign http:/archive.canonical.com lucid Release
Ign http:/archive.canonical.com oneiric/partner i386 Packages/DiffIndex
Ign http:/archive.canonical.com oneiric/partner TranslationIndex
Ign http:/archive.canonical.com lucid/partner i386 Packages/DiffIndex
Ign http:/archive.canonical.com lucid/partner TranslationIndex
Hit http:/archive.canonical.com oneiric/partner i386 Packages
Hit http:/archive.canonical.com lucid/partner i386 Packages
Ign http:/dl.google.com stable InRelease
Ign http:/archive.canonical.com oneiric/partner Translation-en_IN
Ign http:/archive.canonical.com oneiric/partner Translation-en
Ign http:/archive.canonical.com lucid/partner Translation-en_IN
Ign http:/archive.canonical.com lucid/partner Translation-en
Ign http:/in.archive.ubuntu.com oneiric InRelease
Ign http:/in.archive.ubuntu.com oneiric-updates InRelease
Ign http:/in.archive.ubuntu.com oneiric-security InRelease
Get:4 http//dl.google.com stable Release.gpg [198 B]
Get:5 http//in.archive.ubuntu.com oneiric Release.gpg [198 B]
Get:6 http//in.archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Get:7 http//in.archive.ubuntu.com oneiric-security Release.gpg [198 B]
Hit http:/in.archive.ubuntu.com oneiric Release
Ign http:/in.archive.ubuntu.com oneiric Release
Hit http:/in.archive.ubuntu.com oneiric-updates Release
Err http:/in.archive.ubuntu.com oneiric-updates Release
Hit http:/in.archive.ubuntu.com oneiric-security Release
Ign http:/in.archive.ubuntu.com oneiric-security Release
Ign http:/in.archive.ubuntu.com oneiric/main i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric/restricted i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric/universe i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric/multiverse i386 Packages/DiffIndex
Hit http:/in.archive.ubuntu.com oneiric/main TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric/universe TranslationIndex
Ign http:/in.archive.ubuntu.com oneiric-security/main i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric-security/restricted i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric-security/universe i386 Packages/DiffIndex
Ign http:/in.archive.ubuntu.com oneiric-security/multiverse i386 Packages/DiffIndex
Hit http:/in.archive.ubuntu.com oneiric-security/main TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric-security/universe TranslationIndex
Hit http:/in.archive.ubuntu.com oneiric/main i386 Packages
Hit http:/in.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http:/in.archive.ubuntu.com oneiric/universe i386 Packages
Hit http:/in.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http:/in.archive.ubuntu.com oneiric/main Translation-en
Hit http:/in.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http:/in.archive.ubuntu.com oneiric/restricted Translation-en
Hit http:/in.archive.ubuntu.com oneiric/universe Translation-en
Hit http:/in.archive.ubuntu.com oneiric-security/main i386 Packages
Hit http:/in.archive.ubuntu.com oneiric-security/restricted i386 Packages
Hit http:/in.archive.ubuntu.com oneiric-security/universe i386 Packages
Hit http:/in.archive.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http:/in.archive.ubuntu.com oneiric-security/main Translation-en
Hit http:/in.archive.ubuntu.com oneiric-security/multiverse Translation-en
Get:8 http//dl.google.com stable Release [1,347 B]
Hit http:/in.archive.ubuntu.com oneiric-security/restricted Translation-en
Hit http:/in.archive.ubuntu.com oneiric-security/universe Translation-en
Get:9 http//dl.google.com stable/main i386 Packages [1,214 B]
Ign http:/dl.google.com stable/main TranslationIndex
Ign http:/dl.google.com stable/main Translation-en_IN
Ign http:/dl.google.com stable/main Translation-en
Fetched 3,821 B in 41s (91 B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http:/extras.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <[email protected]>
W: GPG error: http:/archive.canonical.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: GPG error: http:/archive.canonical.com lucid Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: GPG error: http:/in.archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http:/in.archive.ubuntu.com oneiric-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: GPG error: http:/in.archive.ubuntu.com oneiric-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: Failed to fetch http:/extras.ubuntu.com/ubuntu/dists/oneiric/Release
W: Failed to fetch http:/in.archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release
W: Some index files failed to download. They have been ignored, or old ones used instead.
dipen@EIDLCPU1018:~$
Sudo apt-get upgradeのログ:
dipen@EIDLCPU1018:~$ Sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
ghc6-doc haskell-zlib-doc libghc6-zlib-doc
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
dipen@EIDLCPU1018:~$
/ etc/apt/sources.list:
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric universe
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb http:/archive.canonical.com/ubuntu oneiric partner
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-security main restricted
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-security universe
deb http:/in.archive.ubuntu.com/ubuntu/ oneiric-security multiverse
deb http:/extras.ubuntu.com/ubuntu oneiric main #Third party developers repository
deb http:/archive.canonical.com/ lucid partner
修正が必要な問題がいくつかあります。
ターミナルを開いて入力します
Sudo nano /etc/apt/sources.list
たとえば、lucid
を含む行を探します
deb http:/archive.canonical.com/ lucid partner
行の先頭に#
を追加してコメントアウトします-たとえば
#deb http:/archive.canonical.com/ lucid partner
保存して再実行
Sudo apt-get update && Sudo apt-get upgrade
BADSIGのエラーがいくつかあります。これは、セキュリティ証明書が正しくダウンロードされていないためです。これを修正するには、以下のリンクされたQ&Aの指示に従ってください。
BADSIGエラーを修正した後、再実行します。
Sudo apt-get update && Sudo apt-get upgrade
リンクされた質問:
`
ターミナルから外部サイトにpingを実行できますか?次のようなものを試してください:
$ ping google.com
動作する場合、接続の問題はありません。
Apt-getを使用してアップデートを実行してみてください。
# apt-get update
その後:
# apt-get upgrade
これらは機能しますか?
可能であれば、aptのソースリストを確認してください。
# more /etc/apt/sources.list
エントリは正常に見えますか?
また、安全のために、Ubuntu 11.10を使用していて、ソフトウェアの更新を取得しようとしていますか? dist-upgradeしようとしていませんか?