Page 1 of 1

Package dependencies resolution

Posted: Mon Nov 07, 2016 12:32 pm
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

Re: Package dependencies resolution

Posted: Mon Nov 07, 2016 2:15 pm
by dwhitfield
Are https://assets.nagios.com/downloads/nag ... nstall.pdf the instructions you are using?

Can you post your upgrade.log? Thanks!

Re: Package dependencies resolution

Posted: Tue Nov 08, 2016 11:41 am
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

Re: Package dependencies resolution

Posted: Tue Nov 08, 2016 12:11 pm
by avandemore
This error would never occur on a Nagios system built and upgraded per instructions. What architecture is your system?

Re: Package dependencies resolution

Posted: Wed Nov 09, 2016 12:21 pm
by emartine
x86_64 I am thinking this dep may be a plugin dependency but with so many plugins it is hard to pinpoint.

Re: Package dependencies resolution

Posted: Wed Nov 09, 2016 1:00 pm
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.