{"id":1201,"date":"2015-01-22T16:28:44","date_gmt":"2015-01-22T16:28:44","guid":{"rendered":"http:\/\/scunster.co.uk\/?p=1201"},"modified":"2015-01-22T16:28:44","modified_gmt":"2015-01-22T16:28:44","slug":"centos-yum-update-error-key-id-xxx-bad-error-rpmts_hdrfromfdno","status":"publish","type":"post","link":"https:\/\/scunster.co.uk\/?p=1201","title":{"rendered":"CentOS yum update error key ID xxx BAD &#8211; error: rpmts_HdrFromFdno:"},"content":{"rendered":"<p>CentOS had an update for the nss-softokn package \u2013 nss-softokn-3.14.3-19<\/p>\n<p>However, nss-softokn-3.14.3-19 needs nss-softokn-freebl-3.14.3-19 to operate properly, and vice versa, but those packages do not have checks in place to make sure that a matching version of the other package are also installed.<\/p>\n<p>Thus if you yum update only installed one of the packages you will end up with a broken YUM and RPM.<\/p>\n<p>You might see error messages like these when trying to run YUM and RPM commands:<\/p>\n<p>error: rpmts_HdrFromFdno: Header V3 RSA\/SHA1 Signature, key ID xxx BAD<br \/>\nerror: rpmdbNextIterator: skipping h# 1784 Header V3 RSA\/SHA1 Signature, key ID xxx BAD<\/p>\n<p>Most of the time you will have had nss-softokn-3.14.3-19 installed but not nss-softokn-freebl-3.14.3-19<\/p>\n<p>To fix this on CentOS 6.6 64 Bit you have to:<\/p>\n<p>Manually download nss-softokn-freebl-3.14.3-19<\/p>\n<pre>yumdownloader nss-softokn-freebl<\/pre>\n<p>Extract the RPM<\/p>\n<pre>rpm2cpio nss-softokn-freebl-3.14.3-19.el6_6.x86_64.rpm | cpio -idmv<\/pre>\n<p>Copy .libfreeblpriv3.* to correct location<\/p>\n<pre>cp .\/lib64\/libfreeblpriv3.* \/lib64<\/pre>\n<p>Rerun Yum Update to update nss-softokn-freebl and FIX YUM and RPM<\/p>\n<pre>yum update<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>CentOS had an update for the nss-softokn package \u2013 nss-softokn-3.14.3-19 However, nss-softokn-3.14.3-19 needs nss-softokn-freebl-3.14.3-19 to operate properly, and vice versa, but those packages do not have checks in place to make sure that a matching version of the other package are also installed. Thus if you yum update only installed one of the packages you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[164,3],"tags":[256,200,91,57,255],"class_list":["post-1201","post","type-post","status-publish","format-standard","hentry","category-centos","category-linux","tag-bad","tag-centos-2","tag-error","tag-update","tag-yum"],"_links":{"self":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1201"}],"version-history":[{"count":1,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1201\/revisions"}],"predecessor-version":[{"id":1202,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1201\/revisions\/1202"}],"wp:attachment":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}