Yum update error for CentOS 5.10 (Final)
When I install alien or other packages on CentOS 5.10 (Final), the error showed below.
I know CentOS 5 is out of life. 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.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] 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
|