Page 1 of 1

Upgrading to Nagios latest - Perl-Simple error

Posted: Tue Apr 11, 2017 11:39 am
by krobertson71
The upgrade to our test environment was successful. Once I moved on to our production backup server I am getting the following error.

Code: Select all

Resolving Dependencies
--> Running transaction check
---> Package perl-Test-Simple.x86_64 0:0.92-141.el6_7.1 will be installed
--> Finished Dependency Resolution
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-Test-Simple which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of perl-Test-Simple 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-Test-Simple.otherarch ... this should give you an error
            message showing the root cause of the problem.
       
         2. You have multiple architectures of perl-Test-Simple 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-Test-Simple installed already.
            You can use "yum check" to get yum show these errors.
       

Re: Upgrading to Nagios latest - Perl-Simple error

Posted: Tue Apr 11, 2017 12:08 pm
by dwhitfield
Do you currently have any problems with the production setup? If so, I would suggest emailing [email protected] and referencing this thread.

If not, then what's the output of the following commands?

Code: Select all

uname -a
yum check
The second one could take a ***while*** to run. Just let it run until it gives output or an error.

Are there any differences between the production and test servers? Is this an offline install (by which I mostly mean, are you using local repos)?

Re: Upgrading to Nagios latest - Perl-Simple error

Posted: Tue Apr 11, 2017 12:20 pm
by krobertson71
Yes we have local repos.

The problem seems to be:

Protected multilib versions: perl-Test-Simple-0.92-141.el6_7.1.x86_64 != perl-Test-Simple-0.98-1.el6.rfx.noarch

the later has other packages that depend on it.

The upgrade is trying to install perl-Test-Simple-0.92-141.el6_7.1x86_64

Is there not a way I can exclude that older version of perl-Test-Simple from the upgrade process?

Re: Upgrading to Nagios latest - Perl-Simple error

Posted: Tue Apr 11, 2017 12:24 pm
by krobertson71
yum check
Loaded plugins: package_upload, product-id, search-disabled-repos, security, subscription-manager
check all
[root@nagiasp02 nagiosxi]#

Re: Upgrading to Nagios latest - Perl-Simple error

Posted: Tue Apr 11, 2017 1:28 pm
by krobertson71
Update from our Linux team. Our test environment was the same as our two production ones. Upgrade was fine on our test server and all packages are using RHEL repos. RPMFORGE repo is not installed on test or our backup Nagios Xi live server (Which is where I am attempting the upgrade).

Code: Select all

ok so on p02 there are a lot of packages installed from RPMFORGE still...but on t01 there are none
[dn40@nagiast01 yum.repos.d]$ sudo yum list installed |grep rpmforge
[sudo] password for dn40: 
[dn40@nagiast01 yum.repos.d]$
[dn40@nagiasp02 yum.repos.d]$ sudo yum list installed |grep rpmforge
dstat.noarch 0.7.2-1.el6.rfx @rpmforge-extras 
lftp.x86_64 4.5.3-1.el6.rfx @rpmforge-extras 
lzo.x86_64 2.06-1.el6.rfx @rpmforge-extras 
perl-Class-Accessor.noarch 0.34-1.el6.rfx @rpmforge-extras 
perl-DBD-MySQL.x86_64 4.022-1.el6.rfx @rpmforge-extras 
perl-DBD-SQLite.x86_64 1.29-2.el6.rfx @rpmforge-extras 
perl-DBI.x86_64 1.622-1.el6.rfx @rpmforge-extras 
perl-Digest-SHA1.x86_64 2.13-1.el6.rfx @rpmforge-extras 
perl-HTML-Parser.x86_64 3.69-1.el6.rfx @rpmforge-extras 
perl-IO-Socket-INET6.noarch 2.57-2.el6.rfx @rpmforge-extras 
perl-IO-Socket-SSL.noarch 1.44-1.el6.rfx @rpmforge-extras 
perl-Net-DNS.x86_64 0.71-1.el6.rfx @rpmforge-extras 
perl-Net-SSLeay.x86_64 1.36-1.el6.rfx @rpmforge-extras 
perl-Params-Validate.x86_64 0.95-1.el6.rfx @rpmforge-extras 
perl-Parse-RecDescent.noarch 1.965.1-2.el6.rfx @rpmforge-extras 
perl-Test-Harness.noarch 3.23-1.el6.rfx @rpmforge-extras 
perl-Test-Simple.noarch 0.98-1.el6.rfx @rpmforge-extras 
perl-URI.noarch 1.60-1.el6.rfx @rpmforge-extras 
perl-XML-Parser.x86_64 2.40-1.el6.rfx @rpmforge-extras 
perl-YAML-Syck.x86_64 1.17-1.el6.rfx @rpmforge-extras 
perl-libwww-perl.noarch 5.837-2.el6.rfx @rpmforge-extras 
perl-rrdtool.x86_64 1.4.7-1.el6.rfx @rpmforge-extras 
portreserve.x86_64 0.0.5-2.el6.rfx @rpmforge-extras 
python-rrdtool.x86_64 1.4.7-1.el6.rfx @rpmforge-extras 
rrdtool.x86_64 1.4.7-1.el6.rfx @rpmforge-extras 
rsync.x86_64 3.1.1-1.el6.rfx @rpmforge-extras 

Re: Upgrading to Nagios latest - Perl-Simple error

Posted: Tue Apr 11, 2017 2:00 pm
by ssax
What is the output of this command:

Code: Select all

yum remove perl-Test-Simple
Don't remove it yet, I just want to see what the dependencies are first before making a recommendation.


Thank you

Re: Upgrading to Nagios latest - Perl-Simple error

Posted: Tue Apr 11, 2017 2:21 pm
by krobertson71
We have corrected the issue and the upgrade is complete. Our linux admin found that perl-Test-Harness and perl-Test-Simple were from rpmforge and replace them with the RHEL versions. Re-ran the upgrade and everything was fine.

He did mention that after the upgrade script ran we still had a lot of packages on our prod servers from rpmforge that he thinks might be a problem in the future.

Code: Select all

sudo yum list installed |grep -i rpmforge
dstat.noarch 0.7.2-1.el6.rfx @rpmforge-extras 
lftp.x86_64 4.5.3-1.el6.rfx @rpmforge-extras 
lzo.x86_64 2.06-1.el6.rfx @rpmforge-extras 
perl-Class-Accessor.noarch 0.34-1.el6.rfx @rpmforge-extras 
perl-DBD-MySQL.x86_64 4.022-1.el6.rfx @rpmforge-extras 
perl-DBD-SQLite.x86_64 1.29-2.el6.rfx @rpmforge-extras 
perl-DBI.x86_64 1.622-1.el6.rfx @rpmforge-extras 
perl-Digest-SHA1.x86_64 2.13-1.el6.rfx @rpmforge-extras 
perl-HTML-Parser.x86_64 3.69-1.el6.rfx @rpmforge-extras 
perl-IO-Socket-INET6.noarch 2.57-2.el6.rfx @rpmforge-extras 
perl-IO-Socket-SSL.noarch 1.44-1.el6.rfx @rpmforge-extras 
perl-Net-DNS.x86_64 0.71-1.el6.rfx @rpmforge-extras 
perl-Net-SSLeay.x86_64 1.36-1.el6.rfx @rpmforge-extras 
perl-Params-Validate.x86_64 0.95-1.el6.rfx @rpmforge-extras 
perl-Parse-RecDescent.noarch 1.965.1-2.el6.rfx @rpmforge-extras 
perl-URI.noarch 1.60-1.el6.rfx @rpmforge-extras 
perl-XML-Parser.x86_64 2.40-1.el6.rfx @rpmforge-extras 
perl-YAML-Syck.x86_64 1.17-1.el6.rfx @rpmforge-extras 
perl-libwww-perl.noarch 5.837-2.el6.rfx @rpmforge-extras 
perl-rrdtool.x86_64 1.4.7-1.el6.rfx @rpmforge-extras 
portreserve.x86_64 0.0.5-2.el6.rfx @rpmforge-extras 
python-rrdtool.x86_64 1.4.7-1.el6.rfx @rpmforge-extras 
rrdtool.x86_64 1.4.7-1.el6.rfx @rpmforge-extras 
rsync.x86_64 3.1.1-1.el6.rfx @rpmforge-extras 
subversion.x86_64 1.7.4-0.1.el6.rfx @rpmforge-extras

Re: Upgrading to Nagios latest - Perl-Simple error

Posted: Tue Apr 11, 2017 4:05 pm
by cdienger
Thanks for the update. It looks like there are methods of removing all packages from a specific repo: http://stackoverflow.com/questions/2550 ... pendencies

Was there anything further on our end we can help with related to this or can this thread be closed?