Page 1 of 1

upgrade mod_gearman

Posted: Wed Mar 18, 2015 12:09 pm
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

Re: upgrade mod_gearman

Posted: Wed Mar 18, 2015 12:19 pm
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.

Re: upgrade mod_gearman

Posted: Thu Mar 19, 2015 3:43 am
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

Re: upgrade mod_gearman

Posted: Thu Mar 19, 2015 10:33 am
by cmerchant
Do you have the epel repo enabled?

Code: Select all

yum repolist -v

Re: upgrade mod_gearman

Posted: Fri Mar 20, 2015 6:03 am
by mon-team
Thanks guys, Epel.repo was disabled.
You can close this topic