Hi,
I tried to upgrade from 5.59 to 5.9.0 on a CentOS 7 and got the following errors:
http://ftp.heanet.ie/pub/centos/7.6.181 ... x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.bytemark.co.uk/centos/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
I know it's an old version of CentOS, and one of the fixes that appeared was "Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. "
I'm having difficulty finding a working upstream, does any know of any working upstreams for 7.6.1810?
Or if there's another option to resolve this, I'd appreciate any advice.
Thanks.
RESOLVED: Issue upgrading due to old CentOS version
-
- Posts: 8
- Joined: Fri May 24, 2019 2:42 am
Re: Issue upgrading due to old CentOS version
Hey @marcmooney-atosmarcmooney-atos wrote: ↑Thu Nov 14, 2024 7:36 am Hi,
I tried to upgrade from 5.59 to 5.9.0 on a CentOS 7 and got the following errors:
http://ftp.heanet.ie/pub/centos/7.6.181 ... x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.bytemark.co.uk/centos/7.6 ... x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
I know it's an old version of CentOS, and one of the fixes that appeared was "Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. "
I'm having difficulty finding a working upstream, does any know of any working upstreams for 7.6.1810?
Or if there's another option to resolve this, I'd appreciate any advice.
Thanks.
That is quite old. Have you tried changing your base mirror from a specific version of 7 to just 7? If not maybe give that a shot and see if the newer cent 7 repos than 6 work. Outside of that maybe a vault mirror could work. Give those a shot and see if it works.
-
- Posts: 258
- Joined: Wed Aug 23, 2023 11:29 am
Re: Issue upgrading due to old CentOS version
You could also try migrating to RHEL 7 then upgrading because RHEL 7 mirrors are more reliably available.
Re: Issue upgrading due to old CentOS version
Try searching the internet for centos 7 eol to see some extended support options.
-
- Posts: 8
- Joined: Fri May 24, 2019 2:42 am
Re: Issue upgrading due to old CentOS version
Thanks all,
I'll try those options.
I'll try those options.
Re: Issue upgrading due to old CentOS version
Awesome, let us know if any of the suggested solutions worked out for you.
-
- Posts: 8
- Joined: Fri May 24, 2019 2:42 am
Re: Issue upgrading due to old CentOS version
Hi,
This solution worked for me:
1. Go to /etc/yum.repos.d/
2. Make copy of original file:
cp CentOS-Base.repo CentOS-Base.repo.old
3. Open and edit file with any text editor:
4. After editing it should looks like:
[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
baseurl=http://vault.centos.org/7.6.1810/os/$basearch
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
baseurl=http://vault.centos.org/7.6.1810/updates/$basearch/
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
baseurl=http://vault.centos.org/7.6.1810/extras/$basearch/
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
baseurl=http://vault.centos.org/7.6.1810/centosplus/$basearch/
yum clean all
Upgraded to 5.9.0 with no issues using the centos vault in the baseurl configuration.
Thanks for all the help with this.
This solution worked for me:
1. Go to /etc/yum.repos.d/
2. Make copy of original file:
cp CentOS-Base.repo CentOS-Base.repo.old
3. Open and edit file with any text editor:
4. After editing it should looks like:
[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
baseurl=http://vault.centos.org/7.6.1810/os/$basearch
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
baseurl=http://vault.centos.org/7.6.1810/updates/$basearch/
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
baseurl=http://vault.centos.org/7.6.1810/extras/$basearch/
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
baseurl=http://vault.centos.org/7.6.1810/centosplus/$basearch/
yum clean all
Upgraded to 5.9.0 with no issues using the centos vault in the baseurl configuration.
Thanks for all the help with this.
Re: Issue upgrading due to old CentOS version
Glad that we were able to get a solution for you and that the vault worked for your mirrors. I will go ahead and mark this thread a finished. Let us know if you have anymore questions.