
Ubuntu日本語フォーラム
ログインしていません。
1.アップデートマネージャーを起動すると下記エラーメッセージが表示される
******
パッケージ情報を初期化できませんでした
パッケージ情報の初期化中に解決できない問題が発生しました。
'update-manager'パッケージのバグとして、以下のエラーメッセージを含めてレポートしてください:
'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages, E:パッケージリストまたはステータスファイルを解釈またはオープンすることができません。'
******
2.ターミナル上でsudo apt-get updateを実行すると
******
パッケージリストを読み込んでいます... エラー!
W: 署名照合中にエラーが発生しました。リポジトリは更新されず、過去のインデックスファイルが使われます。GPG エラー: http://extras.ubuntu.com precise Release: 以下の署名が無効です: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <[email protected]>
W: http://extras.ubuntu.com/ubuntu/dists/precise/Release の取得に失敗しました
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages
E: パッケージリストまたはステータスファイルを解釈またはオープンすることができません。
******
3.そこで、下記コマンドを実行したが解決には至らず
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DB16126D3A3E5C1192
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.o4ROIDZiB2 --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//jockey-drivers.gpg --keyserver keyserver.ubuntu.com --recv-keys DB16126D3A3E5C1192
gpg: “DB16126D3A3E5C1192”鍵IDではありません: とばします
[email protected]:/home/shunta# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.wi70YFmFt2 --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d//jockey-drivers.gpg --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
gpg: 鍵3E5C1192をhkpからサーバーkeyserver.ubuntu.comに要求
gpg: 鍵3E5C1192:“Ubuntu Extras Archive Automatic Signing Key <[email protected]>”変更なし
gpg: 処理数の合計: 1
gpg: 変更なし: 1
どうすればソフトウェアの更新が無事にできるようになるでしょうか?
オフライン
この方法も試してみました
https://forums.ubuntulinux.jp/viewtopic.php?id=9586
gpg --keyserver keyserver.ubuntu.com --recv 3E5C1192
gpg --export --armor 3E5C1192 | sudo apt-key add -
sudo apt-get update
でも結果は、
パッケージリストを読み込んでいます... エラー!
W: 署名照合中にエラーが発生しました。リポジトリは更新されず、過去のインデックスファイルが使われます。GPG エラー: http://extras.ubuntu.com precise Release: 以下の署名が無効です: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <[email protected]>
W: http://extras.ubuntu.com/ubuntu/dists/precise/Release の取得に失敗しました
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages
E: パッケージリストまたはステータスファイルを解釈またはオープンすることができません。
でした。
オフライン
https://forums.ubuntulinux.jp/viewtopic.php?id=3786
http://memo.officebrook.net/20100812.html
ダウンロードサーバーをかえてみる。
問題のあるファイルを消してみる。
オフライン
結局自力で解決出来ました。
やっぱり英語の情報でないと、イカンようですね。
http://askubuntu.com/questions/127326/how-to-fix-missing-gpg-keys-ubuntu-12-04
Answers
first enter the following command in the terminal
sudo rm /var/lib/apt/lists/* -vf
then update your system by entering the following command in the terminal
sudo apt-get update && sudo apt-get upgrade
after this there should be no errors and everything should work fine.
オフライン