upgrade mod_gearman

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

upgrade mod_gearman

Post by mon-team »

Hi guys,

We successfully upgraded nagiosXI to the latest version on Cent0s 6.6 x86_64 GNU/Linux
We are now trying to ugrade mod_gearman. We followed the doc http://assets.nagios.com/downloads/nagi ... ios_XI.pdf but the yum localinstall failed with this error:

[root@nagios tmp]# yum localinstall --nogpgcheck mod_gearman-1.5.0b1-1.el6.x86_64.rpm
Loaded plugins: downloadonly, fastestmirror, priorities, security
Setting up Local Package Process
Examining mod_gearman-1.5.0b1-1.el6.x86_64.rpm: mod_gearman-1.5.0b1-1.el6.x86_64
Marking mod_gearman-1.5.0b1-1.el6.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
* base: ftp.hosteurope.de
* extras: ftp.wrz.de
* rpmforge: mirror.de.leaseweb.net
* updates: mirror.crazynetwork.it
nagios-base | 1.5 kB 00:00
nagios-base/primary | 17 kB 00:00
nagios-base 121/121
nagiosxi-deps | 1.5 kB 00:00
nagiosxi-deps/primary | 8.4 kB 00:00
nagiosxi-deps 28/28
46 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package mod_gearman.x86_64 0:1.5.0b1-1.el6 will be installed
--> Processing Dependency: gearmand for package: mod_gearman-1.5.0b1-1.el6.x86_64
--> Processing Dependency: libgearman.so.8()(64bit) for package: mod_gearman-1.5.0b1-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: mod_gearman-1.5.0b1-1.el6.x86_64 (/mod_gearman-1.5.0b1-1.el6.x86_64)
Requires: libgearman.so.8()(64bit)
Error: Package: mod_gearman-1.5.0b1-1.el6.x86_64 (/mod_gearman-1.5.0b1-1.el6.x86_64)
Requires: gearmand
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


Habib
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: upgrade mod_gearman

Post by jolson »

I think your problem resides in the following line:

Code: Select all

46 packages excluded due to repository priority protections
Some packages are held by more than one repository. The priorities plugin choose packages from the highest-priority repository, excluding duplicate entries from other repos.
This has to do with the 'priorities' plugin. Any chance you could remove that plugin temporarily and try again?
To disable the priorities plugin, edit /etc/yum/pluginconf.d/priorities.conf and set enabled = 0. After this change, next time you run yum update, you should not get any priority protections.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

Re: upgrade mod_gearman

Post by mon-team »

I tried again without success after disabling the priorities plugin

[root@nagios ~]# cat /etc/yum/pluginconf.d/priorities.conf
[main]
enabled = 0

[root@nagios ~]# yum localinstall --nogpgcheck mod_gearman-1.5.0b1-1.el6.x86_64.rpm
Loaded plugins: downloadonly, fastestmirror, security
Setting up Local Package Process
Examining mod_gearman-1.5.0b1-1.el6.x86_64.rpm: mod_gearman-1.5.0b1-1.el6.x86_64
Marking mod_gearman-1.5.0b1-1.el6.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
* base: ftp.hosteurope.de
* extras: ftp.wrz.de
* rpmforge: mirror.de.leaseweb.net
* updates: mirror.crazynetwork.it
Resolving Dependencies
--> Running transaction check
---> Package mod_gearman.x86_64 0:1.5.0b1-1.el6 will be installed
--> Processing Dependency: gearmand for package: mod_gearman-1.5.0b1-1.el6.x86_64
--> Processing Dependency: libgearman.so.8()(64bit) for package: mod_gearman-1.5.0b1-1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: mod_gearman-1.5.0b1-1.el6.x86_64 (/mod_gearman-1.5.0b1-1.el6.x86_64)
Requires: libgearman.so.8()(64bit)
Error: Package: mod_gearman-1.5.0b1-1.el6.x86_64 (/mod_gearman-1.5.0b1-1.el6.x86_64)
Requires: gearmand
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Habib
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: upgrade mod_gearman

Post by cmerchant »

Do you have the epel repo enabled?

Code: Select all

yum repolist -v
mon-team
Posts: 171
Joined: Thu Jun 28, 2012 9:22 am

Re: upgrade mod_gearman

Post by mon-team »

Thanks guys, Epel.repo was disabled.
You can close this topic
Locked