YumRepo Error (CentOS 5.9)
Version: CentOS release 5.9 (Final), x64
I have executed the following to clean all the cached files from any enabled repository Code:
yum clean all Code:
root@server1 $ yum --enablerepo=base info bash How can I fix it? |
Here it is how I managed to fix it:
Create these 3 following files: Code:
/var/cache/yum/base/mirrorlist.txt Code:
http://ftp.uninett.no/linux/epel/5/x86_64/ Code:
yum upgrade perl-DBI What wonders me: I have quickly installed CentOS 5.9 on Virtual Machine to find out what should be mirrorlist.txt and it does not exist there. The list I am showing in this post is taken form history, before I executed: yum clean all What makes me more wonder is that following also does not work and gives value: Invalid release Code:
wget "http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os" |
CentOS 5.9 end of life : about a month ago
The main links are here http://vault.centos.org/5.11/ See http://mirror.centos.org/centos/5.11/readme |
Tried this one and it works
Quote:
|
Thanks!
@packets OMG Thanks so much i've tried so many things and searched for days for this. Its working.
|
@packets Thank you I found this useful as well.
|
@packets Thank you very much - perfect help.
|
All times are GMT -5. The time now is 04:37 AM. |