Page 2 of 4

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Posted: Sat Apr 04, 2020 10:13 am
by Dave Ryan
Hi, I've enabled the optional channel however I'm still having an issue performing the upgrade. Please see log attached.

Thanks,
Dave.

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Posted: Mon Apr 06, 2020 8:24 am
by scottwilkerson
This looks like you are getting an error from the rpmforge repo, I would suggest you disable this repository

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Posted: Mon Apr 06, 2020 5:15 pm
by Dave Ryan
Thanks for the recommendation. Disabling the repo certainly got the upgrade to go a lot further. However, I still see the below at the end of the upgrade process. I've attached as much of the session that was captured from my SSH session. I've confirmed from the Nagios XI Admin page that I'm still running on version 5.4.13.

Setting up Install Process
No package shellinabox available.
Error: Nothing to do

Any ideas on what went wrong?

Thanks,
Dave.

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Posted: Tue Apr 07, 2020 7:39 am
by scottwilkerson
This looks better, but now you are missing a different repo which is required for shellinabox, the epel repo

If you do not have it installed any longer and cannot enable it, you yshould be able to do the following

Code: Select all

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Posted: Tue Apr 07, 2020 8:35 am
by Dave Ryan
I've executed the yum install command for epel but I'm not sure it worked. I'm seeing Error: Nothing to do, log attached.

Thanks,
Dave.

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Posted: Tue Apr 07, 2020 10:00 am
by scottwilkerson
Hmm, I see this

Code: Select all

Cannot open: https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm. Skipping.
does this machine have access to the Internet?

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Posted: Tue Apr 07, 2020 10:01 am
by scottwilkerson
Can you show the output of the following

Code: Select all

ll /etc/yum.repos.d/

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Posted: Tue Apr 07, 2020 10:16 am
by Dave Ryan
Yes, this machines has access to the internet. Command executed, output below.

Code: Select all

[root@bktsfnoc01 ~]# ll /etc/yum.repos.d/
total 92
-rw-r--r-- 1 root root   739 Nov 12  2010 mirrors-rpmforge
-rw-r--r-- 1 root root   717 Nov 12  2010 mirrors-rpmforge-extras
-rw-r--r-- 1 root root   728 Nov 12  2010 mirrors-rpmforge-testing
-rw-r--r-- 1 root root 70106 Apr  4 08:08 redhat.repo
-rw-r--r-- 1 root root  2716 Jan 15  2018 remi.repo
-rw-r--r-- 1 root root  1113 Apr  6 08:53 rpmforge.repo
[root@bktsfnoc01 ~]# 
Thanks,
Dave.

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Posted: Tue Apr 07, 2020 10:23 am
by scottwilkerson
hmm, can you run the following

Code: Select all

cd /tmp
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
yum localinstall epel-release-latest-6.noarch.rpm

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Posted: Tue Apr 07, 2020 10:28 am
by Dave Ryan
Commands executed, log attached.

Thanks,
Dave.