Page 1 of 1

BAD, key ID error Centos5 yum install ossec-hids

Posted: Mon Jun 15, 2015 5:47 pm
by JWinTX
While attempting to install the update for ossec-hids on my Centos5 server using yum, I get the following error:

Downloading Packages:
(1/2): ossec-hids-2.8.2-49.el5.art.i386.rpm
(2/2): ossec-hids-server-2.8.2-49.el5.art.i386.rpm
-----------------------------------------------------------------------------
Total
error: rpmts_HdrFromFdno: Header V4 RSA/SHA1 signature: BAD, key ID 4520afa9

Problem opening package ossec-hids-2.8.2-49.el5.art.i386.rpm


Atomic-release is the latest version:

Package atomic-release-1.0-19.el5.art.noarch already installed and latest version

Re: BAD, key ID error Centos5 yum install ossec-hids

Posted: Tue Jun 16, 2015 10:46 am
by scott
Make sure you clear your cache and re-install the package. If you still get that you might need to manually wipe the /var/cache/yum dir.

Re: BAD, key ID error Centos5 yum install ossec-hids

Posted: Tue Jun 16, 2015 8:12 pm
by JWinTX
Thanks. It worked perfectly today, even though I changed nothing on my end.

Re: BAD, key ID error Centos5 yum install ossec-hids

Posted: Wed Jun 17, 2015 7:18 am
by scott
The cache would eventually expire on your end too, thats probably what happened. Thanks for the followup!