업데이트시 공개키가 없어 인증할수 없다는 메세지가 나올때
root@debian:/home/cecil# aptitude update Hit http://ftp.kr.debian.org jessie InRelease Get: 1 http://ftp.kr.debian.org jessie-updates InRelease [123 kB] Hit http://ftp.kr.debian.org jessie/main Sources Get: 2 http://security.debian.org jessie/updates InRelease [63.1 kB] Hit http://ftp.kr.debian.org jessie/main i386 Packages Hit http://ftp.kr.debian.org jessie/main Translation-ko Hit http://ftp.kr.debian.org jessie/main Translation-en Get: 3 http://ftp.kr.debian.org jessie-updates/main Sources [2,473 B] Get: 4 http://ftp.kr.debian.org jessie-updates/main i386 Packages/DiffIndex [505 B] Get: 5 http://ftp.kr.debian.org jessie-updates/main Translation-en/DiffIndex [229 B] Get: 6 http://security.debian.org jessie/updates/main Sources [69.8 kB] Get: 7 http://packages.siduction.org unstable InRelease [17.9 kB] Get: 8 http://security.debian.org jessie/updates/main i386 Packages [123 kB] Get: 9 http://security.debian.org jessie/updates/main Translation-en [67.2 kB] Ign http://packages.siduction.org unstable InRelease Get: 10 http://packages.siduction.org unstable/main i386 Packages [11.9 kB] Get: 11 http://packages.siduction.org unstable/contrib i386 Packages [1,812 B] Get: 12 http://packages.siduction.org unstable/non-free i386 Packages [28.4 kB] Ign http://packages.siduction.org unstable/contrib Translation-ko_KR Ign http://packages.siduction.org unstable/contrib Translation-ko Ign http://packages.siduction.org unstable/contrib Translation-en Ign http://packages.siduction.org unstable/main Translation-ko_KR Ign http://packages.siduction.org unstable/main Translation-ko Ign http://packages.siduction.org unstable/main Translation-en Ign http://packages.siduction.org unstable/non-free Translation-ko_KR Ign http://packages.siduction.org unstable/non-free Translation-ko Ign http://packages.siduction.org unstable/non-free Translation-en Fetched 510 kB in 18초 (27.6 kB/s) W: GPG 오류: http://packages.siduction.org unstable InRelease: 다음 서명들은 공개키가 없기 때문에 인증할 수 없습니다: NO_PUBKEY 15CBD88045C45076 Current status: 11 updates [+7], 122 new [+112].
패키지 업데이트시 확인하기 위하여 gpg서명을 확인합니다. 기본적인 메인사이트를 키가 등록 되어 있지만 새로 추가한 곳은 gpg키를 등록하여야 합니다.
#gpg --keyserver keyserver.ubuntu.com --recv 15CBD88045C45076 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 45C45076 from hkp server keyserver.ubuntu.com gpg: /root/.gnupg/trustdb.gpg: trustdb created gpg: key 45C45076: public key "Siduction Repository (The Siduction Repository) <repository@siduction.org>" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1)
#gpg --export --armor 15CBD88045C45076 | apt-key add -
OK
# apt-key list /etc/apt/trusted.gpg -------------------- pub 4096R/45C45076 2011-09-19 [expires: 2021-09-16] uid Siduction Repository (The Siduction Repository) <repository@siduction.org> sub 4096R/05BF7E4F 2011-09-19 [expires: 2021-09-16] /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg ---------------------------------------------------------- pub 4096R/2B90D010 2014-11-21 [expires: 2022-11-19] uid Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org> /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg ------------------------------------------------------------------- pub 4096R/C857C906 2014-11-21 [expires: 2022-11-19] uid Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org> /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg ------------------------------------------------------- pub 4096R/518E17E1 2013-08-17 [expires: 2021-08-15] uid Jessie Stable Release Key <debian-release@lists.debian.org> /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg ----------------------------------------------------------- pub 4096R/473041FA 2010-08-27 [expires: 2018-03-05] uid Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org> /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg -------------------------------------------------------- pub 4096R/B98321F9 2010-08-07 [expires: 2017-08-05] uid Squeeze Stable Release Key <debian-release@lists.debian.org> /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg ---------------------------------------------------------- pub 4096R/46925553 2012-04-27 [expires: 2020-04-25] uid Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org> /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg ------------------------------------------------------- pub 4096R/65FFB764 2012-05-08 [expires: 2019-05-07] uid Wheezy Stable Release Key <debian-release@lists.debian.org>
'Linux' 카테고리의 다른 글
Install Oracle Java 8 (with jdk8 and jre8) in Debian (데비안에 오라클 자바 8 설치 하기) (0) | 2015.08.12 |
---|---|
Nvidia 173.14.39 드라이버 32bit linux (0) | 2015.08.05 |
debian Console login (콘솔 로그인 하기) (0) | 2015.08.01 |
Debian IP address 설정하기 (0) | 2015.07.31 |
안드로이드 빌드 환경 구축 (Android Platform Build Environment) (0) | 2011.02.06 |