This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Tue Apr 07, 2020 10:31 am
Someone must have removed the repo file but left the package there....
Code: Select all
cd /tmp
yum remove epel-release -y
yum -y localinstall epel-release-latest-6.noarch.rpm
Dave Ryan
Posts: 25 Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA
Post
by Dave Ryan » Tue Apr 07, 2020 10:38 am
Thanks, that looks like it took. Log attached.
You do not have the required permissions to view the files attached to this post.
Dave Ryan.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Tue Apr 07, 2020 10:40 am
Ok, now lets try to continue with the upgrade
Dave Ryan
Posts: 25 Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA
Post
by Dave Ryan » Tue Apr 07, 2020 10:44 am
Sounds good. I'll attempt the upgrade again this afternoon and respond back. Thanks again for all your help on this.
Dave.
Dave Ryan.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Tue Apr 07, 2020 10:49 am
Dave Ryan wrote: Sounds good. I'll attempt the upgrade again this afternoon and respond back. Thanks again for all your help on this.
Dave.
No problem
Dave Ryan
Posts: 25 Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA
Post
by Dave Ryan » Tue Apr 07, 2020 3:29 pm
It seems like it may have gotten a little further in the upgrade process. However, it still did not complete successfully. It seems it ran out of mirrors to try for shellinabox.
Code: Select all
Error Downloading Packages:
shellinabox-2.14-27.git88822c1.el6.x86_64: failure: shellinabox-2.14-27.git88822c1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
Log attached.
Thanks,
Dave.
You do not have the required permissions to view the files attached to this post.
Dave Ryan.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Tue Apr 07, 2020 4:41 pm
Can you run the following and try again
If you get the same error, can you show the output of
Dave Ryan
Posts: 25 Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA
Post
by Dave Ryan » Tue Apr 07, 2020 5:24 pm
Unfortunately after running "yum clean all" the upgrade did not get very far. Log attached.
Code: Select all
[root@bktsfnoc01 nagiosxi]# yum info shellinabox
Loaded plugins: aliases, changelog, product-id, security, subscription-manager, tmprepo, verify, versionlock
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
Thanks,
Dave.
You do not have the required permissions to view the files attached to this post.
Dave Ryan.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Wed Apr 08, 2020 7:51 am
This is very bizarre, can you port the output of the following
Dave Ryan
Posts: 25 Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA
Post
by Dave Ryan » Wed Apr 08, 2020 9:05 am
No problem, here it is:
Code: Select all
[root@bktsfnoc01 ~]# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[root@bktsfnoc01 ~]#
Thanks,
Dave.
Dave Ryan.