{"id":206,"date":"2013-12-07T15:22:16","date_gmt":"2013-12-07T15:22:16","guid":{"rendered":"https:\/\/mellowhost.com\/blog\/?p=206"},"modified":"2016-01-28T11:40:38","modified_gmt":"2016-01-28T11:40:38","slug":"ca-certificates-update-error","status":"publish","type":"post","link":"https:\/\/mellowhost.com\/blog\/ca-certificates-update-error.html","title":{"rendered":"&#8216;ca-certificates&#8217; update error"},"content":{"rendered":"<p>Since the last &#8220;ca-certificates&#8221; release for RHEL\/CentOS 6 or Fedorar 14 with version stating 2013, there is a roaming error of not being able to update &#8220;ca-certificate&#8221; version starting from 2010 to the latest 2013. The error is somewhat looks the following through yum:<\/p>\n<blockquote><p>Running Transaction<br \/>\nUpdating : ca-certificates-2013.1.94-65.0.el6.noarch 1\/2<br \/>\nError unpacking rpm package ca-certificates-2013.1.94-65.0.el6.noarch<br \/>\nwarning: \/etc\/pki\/java\/cacerts created as \/etc\/pki\/java\/cacerts.rpmnew<br \/>\nwarning: \/etc\/pki\/tls\/certs\/ca-bundle.crt created as \/etc\/pki\/tls\/certs\/ca-bundle.crt.rpmnew<br \/>\nwarning: \/etc\/pki\/tls\/certs\/ca-bundle.trust.crt created as \/etc\/pki\/tls\/certs\/ca-bundle.trust.crt.rpmnew<br \/>\nerror: unpacking of archive failed on file \/etc\/ssl\/certs: cpio: rename<br \/>\nVerifying : ca-certificates-2013.1.94-65.0.el6.noarch 1\/2<br \/>\nca-certificates-2010.63-3.el6_1.5.noarch was supposed to be removed but is not!<br \/>\nVerifying : ca-certificates-2010.63-3.el6_1.5.noarch 2\/2<\/p>\n<p>Failed:<br \/>\nca-certificates.noarch 0:2010.63-3.el6_1.5 ca-certificates.noarch 0:2013.1.94-65.0.el6<\/p><\/blockquote>\n<p>The following part of the error to be noted:<\/p>\n<p><code>error: unpacking of archive failed on file \/etc\/ssl\/certs: cpio: rename<\/code><\/p>\n<p>It looks like the new &#8220;ca-certificate&#8221; is using a new structure. In old versions, &#8220;certs&#8221; is a folder which contains old certificates. While updating with the new one, it is trying to create a symlink with the\u00a0\/etc\/pki\/tls\/certs\/ by removing the old directory, which it fails with yum.<\/p>\n<p>To solve the error, run the following:<\/p>\n<p><code>$ mv \/etc\/ssl\/certs \/etc\/ssl\/certs.back<br \/>\n$ ln -s \/etc\/pki\/tls\/certs \/etc\/ssl\/certs<br \/>\n$ yum update ca-certificate*<\/code><\/p>\n<p>This should solve the error.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since the last &#8220;ca-certificates&#8221; release for RHEL\/CentOS 6 or Fedorar 14 with version stating 2013, there is a roaming error of not being able to update &#8220;ca-certificate&#8221; version starting from 2010 to the latest 2013. The error is somewhat looks the following through yum: Running Transaction Updating : ca-certificates-2013.1.94-65.0.el6.noarch 1\/2 Error unpacking rpm package ca-certificates-2013.1.94-65.0.el6.noarch &hellip; <a href=\"https:\/\/mellowhost.com\/blog\/ca-certificates-update-error.html\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;&#8216;ca-certificates&#8217; update error&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12,21,26,31],"tags":[],"_links":{"self":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/206"}],"collection":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/comments?post=206"}],"version-history":[{"count":1,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/206\/revisions"}],"predecessor-version":[{"id":252,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/206\/revisions\/252"}],"wp:attachment":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/media?parent=206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/categories?post=206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/tags?post=206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}