Wednesday, October 28, 2009

YUM Error

If you are getting this error on cpanel server

root@ninad~]# yum check-update Loading “installonlyn” plugin Setting up repositories Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386& repo=extras error was [Errno 4] IOError: Error: Cannot find a valid baseurl for repo: extras

Solution

yum clean metadata
yum clean dbcache
yum makecache

Thanks
Ninad

No comments:



View My Stats