(SOLVED) yum update failing: header not complete
Trying to update packages via yum is giving me major problems. I searched all over the forums, seems like lots of others have had issues over the past several months, but no concrete resolutions. I tried everything I could find that was suggest: yum clean all, swapped out my router, disabled firewall packet inspection, nothing seems to be working.
Here is an attempt to yum update just after running yum clean:
[root@asterisk1 yum.repos.d]# yum update
Setting up Update Process
Setting up repositories
trixbox 100% |=========================| 951 B 00:00
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 61 kB 00:00
trixbox : ################################################## 153/153
Added 153 new packages, deleted 0 old in 0.99 seconds
primary.xml.gz 100% |=========================| 94 kB 00:00
update : ################################################## 300/300
Added 300 new packages, deleted 0 old in 2.15 seconds
primary.xml.gz 100% |=========================| 580 kB 00:10
base : ################################################## 1518/1518
Added 1518 new packages, deleted 0 old in 9.15 seconds
primary.xml.gz 100% |=========================| 157 B 00:00
Added 0 new packages, deleted 0 old in 0.01 seconds
primary.xml.gz 100% |=========================| 52 kB 00:00
extras : ################################################## 212/212
Added 212 new packages, deleted 0 old in 1.00 seconds
Excluding Packages from CentOS-4 - Updates
Finished
Excluding Packages from CentOS-4 - Base
Finished
Excluding Packages from CentOS-4 - Addons
Finished
Excluding Packages from CentOS-4 - Extras
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for net-tools to pack into transaction set.
net-tools-1.60-37.EL4.9.i 100% |=========================| 340 kB 00:01
http://mirror.trouble-free.net/centos/4.5/os/i386/CentOS/RPMS/net... [Errno -1] Header is not complete.
Trying other mirror.
ftp://mirror.nyi.net/centos/4.5/os/i386/CentOS/RPMS/net-tools-1.6... [Errno 4] IOError: [Errno ftp error] [Errno ftp error] 502 Command not implemented.
Trying other mirror.
net-tools-1.60-37.EL4.9.i 100% |=========================| 340 kB 00:01
http://mirrors.jtlnet.com/centos/4.5/os/i386/CentOS/RPMS/net-tool... [Errno -1] Header is not complete.
Trying other mirror.
net-tools-1.60-37.EL4.9.i 100% |=========================| 340 kB 00:07
http://mirror.icpl.org/4.5/os/i386/CentOS/RPMS/net-tools-1.60-37.... [Errno -1] Header is not complete.
Trying other mirror.
net-tools-1.60-37.EL4.9.i 100% |=========================| 340 kB 00:01
http://centos.secsup.org/4.5/os/i386/CentOS/RPMS/net-tools-1.60-3... [Errno -1] Header is not complete.
Trying other mirror.
net-tools-1.60-37.EL4.9.i 100% |=========================| 340 kB 00:02
http://mirror.steadfast.net/centos/4.5/os/i386/CentOS/RPMS/net-to... [Errno -1] Header is not complete.
Trying other mirror.
ftp://repo.bioinformatics.upenn.edu/pub/centos/4.5/os/i386/CentOS... [Errno 4] IOError: [Errno ftp error] [Errno ftp error] 502 Command not implemented.
Trying other mirror.
net-tools-1.60-37.EL4.9.i 100% |=========================| 340 kB 00:01
http://pubmirrors.reflected.net/centos/4.5/os/i386/CentOS/RPMS/ne... [Errno -1] Header is not complete.
Trying other mirror.
net-tools-1.60-37.EL4.9.i 100% |=========================| 340 kB 00:01
http://mirrors.unbornmedia.com/centos/4.5/os/i386/CentOS/RPMS/net... [Errno -1] Header is not complete.
Trying other mirror.
http://mirrors.csumb.edu/centos/4.5/os/i386/CentOS/RPMS/net-tools... [Errno 14] HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop.
The last 30x error message was:
Found
Trying other mirror.
Error: failure: CentOS/RPMS/net-tools-1.60-37.EL4.9.i386.rpm from base: [Errno 256] No more mirrors to try.
I tried yum update --exclude=net-tools, but then it just fails the same way on the next package it tries.
UPDATE: I forgot to mention that I'm able to wget files from yum.trixbox.org/...
The problem was my untangle appliance. Don't know if anyone here has heard of that, but www.untangle.com is a software appliance that provides spam/virus detection and internet content control among other things. I had my trixbox server running through the DMZ port on the untangle server, and that apparently was corrupting the yum headers. I simply bypassed the untangle box and plugged the trixbox server directly into my router, and all is well.


Member Since:
2006-06-05