Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to resolve “Missing perl module” during the packages update  (Read 995 times)

0 Members and 1 Guest are viewing this topic.

joseletk

  • Guest
The issue description:

The update process failed with the following output (cutted):

Code: [Select]
---> Package python2-hwdata.noarch 0:2.3.5-1.el6 will be obsoleting
--> Running transaction check
---> Package ea-openssl.x86_64 1:1.0.2k-6.el6.cloudlinux will be installed
--> Processing Dependency: perl(WWW::Curl::Easy) for package: 1:ea-openssl-1.0.2k-6.el6.cloudlinux.x86_64
--> Finished Dependency Resolution
Error: Package: 1:ea-openssl-1.0.2k-6.el6.cloudlinux.x86_64 (cl-ea4)
Requires: perl(WWW::Curl::Easy)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


This is caused by exclude line in /etc/yum.conf, which contains perl*, and it means that all perl packages are excluded from the update.

To update just required package (ea-openssl in our case), perl must be removed from the excludes.

The correct way to update the package is: # yum update ea-openssl --disableexcludes=main

After this, you can run # yum update to update the rest of the packages.
==========================================================================