apt-get update 오류중 1개
W: 디지털 서명 확인에 오류가 발생했습니다. 저장고를 업데이트하지 않고
예전의 인덱스 파일을 사용합니다. GPG 오류: http://kr.archive.ubuntu.com precise-updates Release: 다음 서명이 올바르지 않습니다: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: http://kr.archive.ubuntu.com/ubuntu/dists/precise-updates/Release 파일을 받는데 실패했습니다
W: Some index files failed to download. They have been ignored, or old ones used instead.
k1rha@k1rh4:/home/LLVM$
[출처 : http://bunhere.tistory.com/1 ]
빌드 스크립트를 만들어 패키지 업데이트 하고, 소스 컴파일을 하도록 하다보니, 왕왕 삽질하는 경우가 있었는데, 남이 만든 스크립트를 갖다 쓰다 왕창 삽질을 하고 말았다.
[문제]apt-get update시 아래 에러 메시지 발생(키가 다르지만 비슷)
W: GPG error: http:// were invalid: BADSIG 40976EAF437D05B5 Ub untu Archive Automatic Signing Key |
삽질 1>
시냅틱 매니저를 띄워서 리로드를 해봐도 403 Unauthentication (맞나?)와 함께 갱신이 안됨
(서버를 변경해보면서 해봐도 안됨, http_proxy 체크해봄)
삽질 2>
GPG 키에 문제가 있나 싶어 gpg key를 새로 받아봄
(기존에 있는 것은 지워도 봄 - 지우면 NO_PUBKEY 에러가 발생)
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 010908312D230C5F gpg --armor --export 010908312D230C5F| apt-key add - |
키서버는 우분투에 있는걸 해도 관계 없을듯.
해결책>
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/24061
apt-get clean cd /var/lib/apt mv lists lists.old mkdir -p lists/partial apt-get clean apt-get update |
그냥 패키지가 꼬였던 듯 -_-;
원본 위치 <http://bunhere.tistory.com/1>