Page 2 of 3

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Posted: Fri Jul 06, 2018 4:34 pm
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

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Posted: Fri Jul 06, 2018 4:42 pm
by meston.nu
nagiosError4.PNG
no dice.

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Posted: Fri Jul 06, 2018 4:51 pm
by scottwilkerson
Please run the following and return the results

Code: Select all

cat /etc/yum.repos.d/epel.repo

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Posted: Fri Jul 06, 2018 4:52 pm
by lmiltchev
Also, run the following command and show the output.

Code: Select all

yum repolist -v

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Posted: Fri Jul 06, 2018 4:53 pm
by meston.nu
nagiosError5.PNG

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Posted: Fri Jul 06, 2018 5:01 pm
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

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Posted: Mon Jul 09, 2018 8:51 am
by meston.nu
I updated the file as instructed and these were the results.
nagiosError6.PNG

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Posted: Mon Jul 09, 2018 8:55 am
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

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Posted: Mon Jul 09, 2018 9:05 am
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

Re: Error Downloading Packages: Upgrade from 5.4.13>5.5

Posted: Mon Jul 09, 2018 9:42 am
by scottwilkerson
Are you sure this server isn't behind a proxy?