YUM update missing dependency

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
as300182
Posts: 36
Joined: Tue May 17, 2016 8:09 am

YUM update missing dependency

Post by as300182 »

When running a yum update on a RedHat 5.11 server recently, I was very surprised to see this:

Code: Select all

--> Processing Dependency: nagios-plugins = 1.4.15-2.el5 for package: nagios-plugins-load
--> Processing Dependency: nagios-plugins = 1.4.15-2.el5 for package: nagios-plugins-disk
--> Processing Dependency: nagios-plugins = 1.4.15-2.el5 for package: nagios-plugins-procs
---> Package nagios-plugins.x86_64 0:1.4.16-1.el5.rf set to be updated
--> Processing Dependency: fping for package: nagios-plugins
--> Processing Dependency: perl(Net::SNMP) for package: nagios-plugins
--> Running transaction check
---> Package fping.x86_64 0:3.10-1.el5.rf set to be updated
--> Processing Dependency: nagios-plugins = 1.4.15-2.el5 for package: nagios-plugins-load
--> Processing Dependency: nagios-plugins = 1.4.15-2.el5 for package: nagios-plugins-disk
--> Processing Dependency: nagios-plugins = 1.4.15-2.el5 for package: nagios-plugins-procs
---> Package perl-Net-SNMP.noarch 0:5.2.0-1.2.el5.rf set to be updated
--> Processing Dependency: perl(Socket6) >= 0.19 for package: perl-Net-SNMP
--> Processing Dependency: perl(Digest::HMAC) for package: perl-Net-SNMP
--> Processing Dependency: perl(Crypt::DES) for package: perl-Net-SNMP
--> Processing Dependency: perl(Digest::SHA1) for package: perl-Net-SNMP
--> Running transaction check
--> Processing Dependency: nagios-plugins = 1.4.15-2.el5 for package: nagios-plugins-load
--> Processing Dependency: nagios-plugins = 1.4.15-2.el5 for package: nagios-plugins-disk
--> Processing Dependency: nagios-plugins = 1.4.15-2.el5 for package: nagios-plugins-procs
---> Package perl-Crypt-DES.x86_64 0:2.05-3.2.el5.rf set to be updated
---> Package perl-Digest-HMAC.noarch 0:1.01-15 set to be updated
---> Package perl-Digest-SHA1.x86_64 0:2.11-1.2.1 set to be updated
---> Package perl-Socket6.x86_64 0:0.19-3.fc6 set to be updated
--> Finished Dependency Resolution
nagios-plugins-procs-1.4.15-2.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: nagios-plugins = 1.4.15-2.el5 is needed by package nagios-plugins-procs-1.4.15-2.el5.x86_64 (installed)
nagios-plugins-load-1.4.15-2.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: nagios-plugins = 1.4.15-2.el5 is needed by package nagios-plugins-load-1.4.15-2.el5.x86_64 (installed)
nagios-plugins-disk-1.4.15-2.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: nagios-plugins = 1.4.15-2.el5 is needed by package nagios-plugins-disk-1.4.15-2.el5.x86_64 (installed)
Error: Missing Dependency: nagios-plugins = 1.4.15-2.el5 is needed by package nagios-plugins-load-1.4.15-2.el5.x86_64 (installed)
Error: Missing Dependency: nagios-plugins = 1.4.15-2.el5 is needed by package nagios-plugins-procs-1.4.15-2.el5.x86_64 (installed)
Error: Missing Dependency: nagios-plugins = 1.4.15-2.el5 is needed by package nagios-plugins-disk-1.4.15-2.el5.x86_64 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
I don't know how this has happened, and I haven't been able to find any way to fix this so far, and that includes the suggestions in the above message. The plugins on the server seem to be working just fine.

Has anyone else come across this, and do you have a solution please?
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: YUM update missing dependency

Post by tgriep »

You can try and clean out the yum cache by running this. Sometimes they need to be cleaned out because the repo's are changed and the updates didn't download.

Code: Select all

yum clean all
Then try and and then do update update and see if that works.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked