Package dependencies resolution

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Package dependencies resolution

Post by emartine »

I am trying to update to the latest version of Nagios XI and trying to update the system but I am running into a package issue and installation won't continue.


Packages skipped because of dependency problems:
perl-IO-Compress-2.052-1.el6.rfx.noarch from rpmforge-extras
perl-libwww-perl-5.837-2.el6.rfx.noarch from rpmforge-extras
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:

1. You have an upgrade for perl-libwww-perl which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of perl-libwww-perl of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude perl-libwww-perl.otherarch ... this should give you an error
message showing the root cause of the problem.

2. You have multiple architectures of perl-libwww-perl installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.

3. You have duplicate versions of perl-libwww-perl installed already.
You can use "yum check" to get yum show these errors.

...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).

Protected multilib versions: perl-libwww-perl-5.837-1.el6.rfx.noarch != perl-libwww-perl-5.833-2.el6.noarch
Error: Protected multilib versions: php-mssql-5.3.3-4.el6.x86_64 != php-mssql-5.3.3-3.el6.i686


Some help would be appreciated. I have a RHEL 6.7 Server with Nagios XI 5.2.8
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Package dependencies resolution

Post by dwhitfield »

Are https://assets.nagios.com/downloads/nag ... nstall.pdf the instructions you are using?

Can you post your upgrade.log? Thanks!
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Re: Package dependencies resolution

Post by emartine »

The installation complained about some test perl packages. I removed them.... Continued the installation and it was fine. I am assuming that these packages are not needed by Nagios?


This one package is keeping me from updating and securing the server. Is it needed by Nagiosxi?
php-mssql-5.3.3-3.el6.i686 can I replace it with php-mssql-5.3.3-4.el6.x86_64

Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:

1. You have an upgrade for php-mssql which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of php-mssql of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude php-mssql.otherarch ... this should give you an error
message showing the root cause of the problem.

2. You have multiple architectures of php-mssql installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.

3. You have duplicate versions of php-mssql installed already.
You can use "yum check" to get yum show these errors.

...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).

Protected multilib versions: php-mssql-5.3.3-4.el6.x86_64 != php-mssql-5.3.3-3.el6.i686
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Package dependencies resolution

Post by avandemore »

This error would never occur on a Nagios system built and upgraded per instructions. What architecture is your system?
Previous Nagios employee
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Re: Package dependencies resolution

Post by emartine »

x86_64 I am thinking this dep may be a plugin dependency but with so many plugins it is hard to pinpoint.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Package dependencies resolution

Post by avandemore »

Something like php-mssql-5.3.3-4.el6.x86_64 is likely needed if you want to use the XI wizard for MSSQL, otherwise I can't think of scenario something like that would be used.
Previous Nagios employee
Locked