[Debian] apt-getでNO_PUBKEYエラーが出る
<<
作成日時 : 2007/03/03 14:36
>>
ブログ気持玉 0 /
トラックバック 0 /
コメント 0
久しぶりに、coLinux の Debian で apt-get しようとしたら、GPG error が出ていた。
# apt-get update
Get:1 http://cdn.debian.or.jp stable Release.gpg [378B]
Get:2 http://cdn.debian.or.jp testing Release.gpg [189B]
(snip)
Hit http://cdn.debian.or.jp stable/main Sources
Hit http://cdn.debian.or.jp stable/contrib Sources
Fetched 110kB in 1s (74.6kB/s)
Reading package lists... Done
W: GPG error: http://cdn.debian.or.jp stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1 NO_PUBKEY B5D0C804ADB11277
W: GPG error: http://cdn.debian.or.jp testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1
W: You may want to run apt-get update to correct these problems
こちら を参考にして、キーを登録した。
# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys A70DAF536070D3A1
# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys B5D0C804ADB11277
# gpg --armor --export A70DAF536070D3A1 | apt-key add -
# gpg --armor --export B5D0C804ADB11277 | apt-key add -
エラーが出なくなった。ありがとうございます!
# apt-get update
Get:1 http://cdn.debian.or.jp stable Release.gpg [378B]
Get:2 http://cdn.debian.or.jp testing Release.gpg [189B]
(snip)
Hit http://cdn.debian.or.jp stable/main Sources
Hit http://cdn.debian.or.jp stable/contrib Sources
Fetched 2B in 1s (1B/s)
Reading package lists... Done
ついでに、ダウンロード先は cdn.debian.or.jp のラウンドロビンを利用するようにしています。
|
ブログ気持玉
クリックして気持ちを伝えよう!
ログインしてクリックすれば、自分のブログへのリンクが付きます。
→ログインへ