Error Downloading Packages: Upgrade from 5.4.13>5.5

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:

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Post by scottwilkerson »

meston.nu wrote:Those commands completed without error.
Good, run

Code: Select all

yum clean all
Then lets try to proceed with the upgrade
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
meston.nu
Posts: 12
Joined: Fri Jun 02, 2017 3:29 pm

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Post by meston.nu »

nagiosError4.PNG
no dice.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Post by scottwilkerson »

Please run the following and return the results

Code: Select all

cat /etc/yum.repos.d/epel.repo
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Post by lmiltchev »

Also, run the following command and show the output.

Code: Select all

yum repolist -v
Be sure to check out our Knowledgebase for helpful articles and solutions!
meston.nu
Posts: 12
Joined: Fri Jun 02, 2017 3:29 pm

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Post by meston.nu »

nagiosError5.PNG
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Post by scottwilkerson »

Lets edit /etc/yum.repos.d/epel.repo and uncomment baseurl and comment mirrorlist

like so

Code: Select all

[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
then try

Code: Select all

yum update
if that works, proceed
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
meston.nu
Posts: 12
Joined: Fri Jun 02, 2017 3:29 pm

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Post by meston.nu »

I updated the file as instructed and these were the results.
nagiosError6.PNG
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Post by scottwilkerson »

If you are getting that error then you didn't comment all the mirrorlist lines

Code: Select all

grep mirrorlist -R /etc/yum.repos.d|grep fedora
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
meston.nu
Posts: 12
Joined: Fri Jun 02, 2017 3:29 pm

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Post by meston.nu »

I commented out the file you told me, but apparently there was another (see below).
nagiosError7.PNG

After commenting those lines, I ran yum update and this was the result.
nagiosError8.PNG
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Post by scottwilkerson »

Are you sure this server isn't behind a proxy?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked