![]() |
Yum IOError
Hey, I have a VPS server I use for a webserver and I do yum and it saids
root@fast [~]# yum install nmap Gathering header information file(s) from server(s) Server: Red Hat Linux 5 - i386 - Base retrygrab() failed for: http://mirror.dulug.duke.edu/pub/yum...rs/header.info Executing failover method failover: out of servers to try Error getting file http://mirror.dulug.duke.edu/pub/yum...rs/header.info [Errno 4] IOError: HTTP Error 404: Not Found I'm getting this I tried updating the /etc/yum.repos.d/CentOS-Base.repo file but no luck. Any ideas? I'm pretty bad with linux. I have some knowledge you know basic things but nothing advanced! I'm running the latest cPanel and wget works fine. Thank You |
What distro/version are you running?
Where did this repo file come from? Well looking at http://mirror.dulug.duke.edu/pub/yum...edhat/updates/ I'd suggest that this is a seriously old repository (RH7.1 through 9) What repos do you have setup in /etc/yum.repos.d? |
Theres two files.
CentOS-Base.repo Code:
# CentOS-Base.repoI manually updated the CentOS-Base.repo but it didn't even seem like it took affect. |
Normally either the mirrorlist or the baseurl is comment out (starts with #). Having both active may be causing problems.
|
Quote:
|
I THINK you HAVE to have one or the other commented out(both cannot be active in order for it to work). Could you also post the results of " yum repolist '.
|
root@fast [~]# yum list
Gathering header information file(s) from server(s) Server: Red Hat Linux 5 - i386 - Base retrygrab() failed for: http://mirror.dulug.duke.edu/pub/yum...rs/header.info Executing failover method failover: out of servers to try Error getting file http://mirror.dulug.duke.edu/pub/yum...rs/header.info [Errno 4] IOError: HTTP Error 404: Not Found Code:
# CentOS-Base.repo |
NOT "yum list", 'yum repolist"
|
I'd try commenting out the mirrorlist and uncommenting the baseurl, since I'd guess the mirror list is at fault
|
Quote:
root@fast [~]# yum install Gathering header information file(s) from server(s) Server: Red Hat Linux 5 - i386 - Base retrygrab() failed for: http://mirror.dulug.duke.edu/pub/yum...rs/header.info Executing failover method failover: out of servers to try Error getting file http://mirror.dulug.duke.edu/pub/yum...rs/header.info [Errno 4] IOError: HTTP Error 404: Not Found Still I think its in the cache.. how can I upate it? rifk. |
yum clean all
|
Quote:
root@fast [~]# yum clean all Gathering header information file(s) from server(s) Server: Red Hat Linux 5 - i386 - Base Error - /var/cache/yum/base/header.info cannot be found Please run yum in non-caching mode to correct this header. |
I still like to see yum repolist.
Do you have any yum aliases set? Are you short on disk space on /var ? |
Quote:
|
Ok, IF some piece of hardware has a slight malfunction it can send an error to the log every second. It does not take very long to fill up a lot of space when this happens (please check /var). IF var is out of space and clean all removes header.info the space may be refilled before the new header.info can be written.
Assuming the machine is yours and you have not set an alias(from your reply), it is probably not the issue. I would still like to see a yum repolist. |
| All times are GMT -5. The time now is 07:50 PM. |