{"id":4648,"date":"2014-03-27T09:06:00","date_gmt":"2014-03-27T09:06:00","guid":{"rendered":"https:\/\/blog-staging.wowrack.co.id\/2014\/03\/27\/issue-problem-upgrading-to-centos-6-5-perl-cgi-dependancy\/"},"modified":"2024-05-10T10:02:13","modified_gmt":"2024-05-10T03:02:13","slug":"issue-problem-upgrading-to-centos-6-5-perl-cgi-dependancy","status":"publish","type":"post","link":"https:\/\/www.wowrack.com\/id-id\/blog\/security-id\/issue-problem-upgrading-to-centos-6-5-perl-cgi-dependancy\/","title":{"rendered":"[ISSUE] Problem upgrading to Centos 6.5 \u2013 perl-CGI dependancy"},"content":{"rendered":"<p>CentOS 6.5 has just been released but it seems that cPanel gets unhappy about a perl-CGI dependancy for one of the redhat packages. Specifically it gives this error:<\/p>\n<blockquote><p><em>root@bandit [~]# yum update<\/em><br \/>\n...<br \/>\n<em>---&gt; Package redhat-lsb-core.x86_64 0:4.0-7.el6.centos will be installed<\/em><br \/>\n<em>--&gt; Processing Dependency: perl-CGI for package: redhat-lsb-core-4.0-7.el6.centos.x86_64<\/em><br \/>\n<em>---&gt; Package xz.x86_64 0:4.999.9-0.3.beta.20091007git.el6 will be installed<\/em><br \/>\n<em>--&gt; Finished Dependency Resolution<\/em><br \/>\n<em>Error: Package: redhat-lsb-core-4.0-7.el6.centos.x86_64 (base)<\/em><br \/>\n<em>Requires: perl-CGI<\/em><br \/>\n<em>You could try using --skip-broken to work around the problem<\/em><br \/>\n<em>** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:<\/em><br \/>\n<em>frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0<\/em><\/p><\/blockquote>\n<p>Not ideal.<\/p>\n<p>This will also break if you\u2019re using the \/usr\/local\/cpanel\/scripts\/upcp or the update option via the WHM web interface.<\/p>\n<p>To fix the issue we need to remove the perl* exclusion from yum.conf which cpanel sets:<\/p>\n<blockquote><p><em>cp \/etc\/yum.conf \/etc\/yum.conf.backup<\/em><em>sed -i 's\/ perl*\/\/' \/etc\/yum.conf<\/em><em>This should have just removed the perl* from the exclusion line in the yum.conf. If you want to make sure you can compare the before and after using:<\/em><em>diff \/etc\/yum.conf \/etc\/yum.conf.backup<\/em><em>Now you should be able to run \u2018yum update\u2019 or \u2018\/usr\/local\/cpanel\/scripts\/upcp\u2019<\/em> and all should be well.<\/p><\/blockquote>\n<div>Blog Wowrack Indonesia<\/div>\n","protected":false},"excerpt":{"rendered":"<p>CentOS 6.5 has just been released but it seems that cPanel gets unhappy about a perl-CGI dependancy for one of the redhat packages. Specifically it gives this error: root@bandit [~]# yum update ... ---&gt; Package redhat-lsb-core.x86_64 0:4.0-7.el6.centos will be installed --&gt; Processing Dependency: perl-CGI for package: redhat-lsb-core-4.0-7.el6.centos.x86_64 ---&gt; Package xz.x86_64 0:4.999.9-0.3.beta.20091007git.el6 will be installed --&gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2252,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[723],"tags":[],"class_list":["post-4648","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security-id","post-wrapper"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.wowrack.com\/id-id\/wp-json\/wp\/v2\/posts\/4648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wowrack.com\/id-id\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wowrack.com\/id-id\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wowrack.com\/id-id\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wowrack.com\/id-id\/wp-json\/wp\/v2\/comments?post=4648"}],"version-history":[{"count":0,"href":"https:\/\/www.wowrack.com\/id-id\/wp-json\/wp\/v2\/posts\/4648\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wowrack.com\/id-id\/wp-json\/wp\/v2\/media\/2252"}],"wp:attachment":[{"href":"https:\/\/www.wowrack.com\/id-id\/wp-json\/wp\/v2\/media?parent=4648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wowrack.com\/id-id\/wp-json\/wp\/v2\/categories?post=4648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wowrack.com\/id-id\/wp-json\/wp\/v2\/tags?post=4648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}