Yum update error for CentOS 5.10 (Final)
-
- Posts: 5
- Joined: 2017/06/18 11:46:48
Yum update error for CentOS 5.10 (Final)
When I install or update softwares on CentOS 5.10 (Final), the error showed below. Could someone provide specific answers? Thanks.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
The /etc/yum.conf is below.
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
bugtracker_url=http://bugs.centos.org/yum5bug
# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h
installonly_limit = 5
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
~
~
~
"/etc/yum.conf" 20L, 379C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
The /etc/yum.conf is below.
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
bugtracker_url=http://bugs.centos.org/yum5bug
# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h
installonly_limit = 5
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
~
~
~
"/etc/yum.conf" 20L, 379C
Re: Yum update error for CentOS 5.10 (Final)
CentOS 5 went End Of Life at the end of March 2017 and there will be no more updates to it at all. You should start your migration to a newer, supported version ASAP - mostly that means CentOS 7 since CentOS 6 has already entered Production Phase 3 and only critical severity security updates will be released for it from now on.
In addition, CentOS 5.10 is not the latest version anyway, there was a 5.11 and that was the last available. The content for 5.11 has now been moved to vault.centos.org and you will need to point your /etc/yum.repos.d/*.repo files to the content on there rather than the old mirror system.
Even once you point to vault.centos.org, you will still not be safe. New security vulnerabilities come out all the time and are fixed and CentOS 5 will no longer get any of these. Point to vault, yum update to get as current as possible then go and start planning how to get off CentOS 5 altogether ASAP.
In addition, CentOS 5.10 is not the latest version anyway, there was a 5.11 and that was the last available. The content for 5.11 has now been moved to vault.centos.org and you will need to point your /etc/yum.repos.d/*.repo files to the content on there rather than the old mirror system.
Even once you point to vault.centos.org, you will still not be safe. New security vulnerabilities come out all the time and are fixed and CentOS 5 will no longer get any of these. Point to vault, yum update to get as current as possible then go and start planning how to get off CentOS 5 altogether ASAP.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 5
- Joined: 2017/06/18 11:46:48
Re: Yum update error for CentOS 5.10 (Final)
Thank you for quick reply.
Why could not I install softwares? Why does it show the error when I install softwares?
Why could not I install softwares? Why does it show the error when I install softwares?
-
- Posts: 5
- Joined: 2017/06/18 11:46:48
Yum install packages error for CentOS 5.10 (Final)
When I install alien or other packages on CentOS 5.10 (Final), the error showed below. help appreciated. Thanks.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
The /etc/yum.conf is below.
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
bugtracker_url=http://bugs.centos.org/yum5bug
# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h
installonly_limit = 5
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
~
~
~
"/etc/yum.conf" 20L, 379C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
The /etc/yum.conf is below.
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
bugtracker_url=http://bugs.centos.org/yum5bug
# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h
installonly_limit = 5
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
~
~
~
"/etc/yum.conf" 20L, 379C
Re: Yum update error for CentOS 5.10 (Final)
I moved your above post from a different topic to here.
In short, CentOS 5 is dead. It is no longer on CentOS mirrors. That is why yum shows odd results.
You should be using either CentOS 6 or CentOS 7 (preferred).
In short, CentOS 5 is dead. It is no longer on CentOS mirrors. That is why yum shows odd results.
You should be using either CentOS 6 or CentOS 7 (preferred).
Re: Yum update error for CentOS 5.10 (Final)
Try reading my first reply...Why could not I install softwares? Why does it show the error when I install softwares?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 5
- Joined: 2017/06/18 11:46:48
Re: Yum update error for CentOS 5.10 (Final)
Thanks for the reply.
If I point to vault.centos.org, could I install alien or other packages on CentOS 5.10 (Final),
Because I installed several research softwares, I do not want to migrate to CentOS 6 or 7. Thanks.
If I point to vault.centos.org, could I install alien or other packages on CentOS 5.10 (Final),
Because I installed several research softwares, I do not want to migrate to CentOS 6 or 7. Thanks.
Re: Yum update error for CentOS 5.10 (Final)
You can install anything that was part of the distro at the point when it was retired.If I point to vault.centos.org, could I install alien or other packages on CentOS 5.10 (Final),
Sorry, you have no choice. You migrate or your system gets less and less secure and eventually it will be compromised. Let me say it again, just in case you missed it... CentOS. 5. Is. Dead.Because I installed several research softwares, I do not want to migrate to CentOS 6 or 7. Thanks.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 5
- Joined: 2017/06/18 11:46:48
Re: Yum update error for CentOS 5.10 (Final)
Thanks. I know your point now.