Monday, 1 October 2007

APT-GET UPDATE ERROR (Old-Posted)

本來放在mypaper的這篇文章,一直也忘了要轉過來,在Mason跟我提醒之後,想想也該做個整理,免得文章散落各地。廢話不多說,舊文如下:




root: # apt-get update

Get:1 http://security.debian.org sarge/updates Release.gpg [197B]
Get:2 http://security.debian.org testing/updates Release.gpg [197B]
Ign http://www.calno.com unstable Release.gpg
.
.
.
.
.
.
Hit http://non-us.debian.org sarge/non-US/contrib Packages
Hit http://non-us.debian.org sarge/non-US/non-free Packages
Fetched 194B in 14s (14B/s)
Reading package lists... Done
W: GPG error: http://www.os-works.com testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CF455A0A8AC2C0A6
W: You may want to run apt-get update to correct these problems





WELL ~~ LET'S GOOGLE







THE ANSWER AS FOLLOWING:

root: # gpg --keyserver wwwkeys.eu.pgp.net --recv-keys CF455A0A8AC2C0A6
root: # gpg --armor --export CF455A0A8AC2C0A6 | apt-key add -
root: # apt-get update

It's done!! ^^


.

No comments: