Debian Etch에서 apt-get update시 public key 오류
배움의 즐거움/OS :
2009. 10. 31. 23:56
apt-get update를 할 때.. (혹은 dselect에서 update..)
W: There are no public key available for the following key IDs:
A70DAF536070D3A1
W: You may want to run apt-get update to correct these problems
위와 같은 오류 발생..
정확히는 모르겠으나 gpg-key를 변경했다는 것 같으니 바꿔주자..
# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys A70DAF536070D3A1
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key 6070D3A1 from hkp server wwwkeys.eu.pgp.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 6070D3A1: public key "Debian Archive Automatic Signing Key (4.0/etch) <ftpmaster@debian.org>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1
# apt-key add /root/.gnupg/pubring.gpg
OK
A70DAF536070D3A1 대신 위 오류 메시지에 키값을 입력해주면 된다..
이제 정상적인 업데이트가 가능하다.