Error yum update

Latest response

Hello
I'm having a problem when trying to update something on a Redhat 5.1 server. The error that i get is :

yum update httpd

Loading "installonlyn" plugin
Loading "rhnplugin" plugin
Setting up Update Process
Setting up repositories
rhel-x86_64-server-5 100% |=========================| 1.4 kB 00:00
elrepo 100% |=========================| 2.5 kB 00:00
rhel-x86_64-server-vt-5 100% |=========================| 1.4 kB 00:00
Reading repository metadata in from local files
90b1a76db7157667342dcf29a 100% |=========================| 2.4 MB 00:07

############################################ 16874/16874

ffc858311ab04ce343e4bb447 100% |=========================| 344 kB 00:00

############################################ 411/411

f322e9b2ab6412c3903216931 100% |=========================| 180 kB 00:00

############################################ 581/581

Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for httpd to pack into transaction set.
httpd-2.2.3-91.el5.x86_64 100% |=========================| 601 B 00:00
Error: failed to retrieve getPackage/httpd-2.2.3-91.el5.x86_64.rpm from rhel-x86_64-server-5
error was [Errno -1] Header is not complete.

Thanks for your help

Responses

Are you really running RHEL 5.1, not 5.11? You may want to look at this article, "yum update on RHEL5 fails with: error was [Errno -1] Header is not complete."

Thanks for your reply.
I follows thes steps with a RHEL 5.11 DVD, and this is the error i got from the command:

yum --noplugins update yum* rhn* hal*

Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for rhn-setup to pack into transaction set.
media://-mediaid-/rhn-setup-0.4.20.1-9.el5.noarch.rpm: [Errno 4] IOError:
Trying other mirror.
Error: failed to retrieve rhn-setup-0.4.20.1-9.el5.noarch.rpm from dvd-Server
error was [Errno 4] IOError:

I have a RHEL 5.1 running. Should i retry these steps with a RHEL 5.1 DVD? or should it be done with the latest version of RHEL 5 ?
Thanks
Regards

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.