yum install [packagename]
centos 에서 yum install을 이용하여 패키지를 설치할 때
다음과 같은 메시지가 나오는 경우가 있다.
-------------------------------------------------------------------------------
경고: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID XXXXXXX: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
The GPG keys listed for the "CentOS / Red Hat Enterprise Linux 6 - atomicrocketturtle.com" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
-------------------------------------------------------------------------------
그리고는 설치가 종료된다.
이유는 rpm을 이용하는 보증 키 값이 옳지 않아서(?)로 판단된다.
정확한 원인은 파악 중이지만, 임시 방편으로는 다음과 같이 해결할 수 있다.
yum install [packagename] --nogpgcheck (packagename에는 본인의 해당 패키지명을 입력하면 된다)
위와 같이 입력하면 일단 설치가 완료된다.
구글링을 통해 정확한 원인과 102% 깔끔한 해결방법이 나오면 업데이트를 하겠다.
'리눅스' 카테고리의 다른 글
.bashrc 와 .bash_profile 에서 설정 적용되지 않을 때 (0) | 2014.07.07 |
---|---|
[centOS] CMakeLists.txt 만들기 (0) | 2014.02.28 |
[centOS] cmake 에러 The CXX compiler identification is unknown ... (1) | 2014.02.27 |