PDA

View Full Version : yum update errors



donhudock
1st June 2006, 09:50 PM
I have been following Stanton Finley's FC5 Installation notes regarding Yum and I get to the actual update part, but I keep getting header errors (header is not complete) and keeps trying to download the same thing over and over, from various different repos. Any ideas or suggestions would be appreciated. Thanks.

(here is my output):

[root@linux1 ~]# yum -y update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
core [1/6]
core 100% |=========================| 1.1 kB 00:00
dries [2/6]
dries 100% |=========================| 951 B 00:00
macromedia [3/6]
macromedia 100% |=========================| 951 B 00:00
updates [4/6]
updates 100% |=========================| 951 B 00:00
freshrpms [5/6]
http://ayo.us5.freshrpms.net/fedora/linux/5/i386/freshrpms/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
freshrpms 100% |=========================| 951 B 00:00
extras [6/6]
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 767 kB 01:41
primary.xml.gz 100% |=========================| 680 kB 00:16
primary.xml.gz 100% |=========================| 1.1 kB 00:00
primary.xml.gz 100% |=========================| 344 kB 00:12
updates : ################################################## 1068/1068
Added 0 new packages, deleted 14 old in 1.53 seconds
primary.xml.gz 100% |=========================| 56 kB 00:00
primary.xml.gz 100% |=========================| 1.2 MB 00:25
extras : ################################################## 3437/3437
Added 358 new packages, deleted 153 old in 7.03 seconds
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for ghostscript to pack into transaction set.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 00:55
http://ftp.rhd.ru/pub/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 79% |=================== | 6.8 MB 00:12 ETA ^ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 00:54
http://ftp.chg.ru/pub/Linux/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
http://fr.rpmfind.net/linux/fedora/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno 14] HTTP Error 404: Date: Thu, 01 Jun 2006 21:30:35 GMT
Server: Apache/2.0.52 (Red Hat)
Content-Length: 343
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 00:23
http://mirrors.kernel.org/fedora/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 00:56
http://fr2.rpmfind.net/linux/fedora/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 01:26
http://ftp.nluug.nl/ftp/pub/os/Linux/distr/fedora/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ftp://ftp.rdsor.ro/pub/Linux/Distributions/Fedora/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno 4] IOError: [Errno ftp error] [Errno ftp error] 500 RE*T not understood
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 00:56
http://mirror.cs.wisc.edu/pub/mirrors/linux/download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 00:54
http://fedora.mirrors.lug.ro/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ftp://ftp.quicknet.nl/pub/Linux/download.fedora.redhat.com/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno 4] IOError: [Errno ftp error] [Errno ftp error] 550 No such file or directory.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 01:15
http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 01:00
http://redhat.secsup.org/fedora/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 00:26
http://www.muug.mb.ca/pub/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 01:14
http://redhat.download.fedoraproject.org/pub/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 01:01
http://ftp.stw-bonn.de/pub/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 00:26
http://fedora.colorado.edu/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 00:51
http://ftp.chg.ru/pub/Linux/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 00:27
http://sunsite.mff.cuni.cz/pub/fedora/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ftp://ftp.ciril.fr/pub/linux/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno 4] IOError: [Errno ftp error] [Errno ftp error] 500 RE*T not understood
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 00:57
http://mirror.hiwaay.net/pub/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 01:01
http://ftp.rhd.ru/pub/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 01:03
http://ftp.crihan.fr/mirrors/fedora.redhat.com/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 01:03
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/fedora/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
ftp://fedora.bu.edu/fedora/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno 4] IOError: [Errno ftp error] [Errno ftp error] 500 RE*T not understood
Trying other mirror.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 00:56
http://distro.ibiblio.org/pub/linux/distributions/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.

donhudock
8th June 2006, 03:17 PM
Anyone see this before or have some suggestions?

bob
8th June 2006, 03:25 PM
Try 'yum clean all' and see if the headers correct.

donhudock
8th June 2006, 03:41 PM
Same results :(

]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
core [1/6]
core 100% |=========================| 1.1 kB 00:00
dries [2/6]
dries 100% |=========================| 951 B 00:00
macromedia [3/6]
macromedia 100% |=========================| 951 B 00:00
updates [4/6]
updates 100% |=========================| 951 B 00:00
freshrpms [5/6]
freshrpms 100% |=========================| 951 B 00:00
extras [6/6]
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 767 kB 00:30
core : ################################################## 2207/2207
Added 2207 new packages, deleted 0 old in 15.63 seconds
primary.xml.gz 100% |=========================| 691 kB 00:16
dries : ################################################## 2888/2888
Added 2888 new packages, deleted 0 old in 15.36 seconds
primary.xml.gz 100% |=========================| 1.1 kB 00:00
macromedia: ################################# 2/3Added 2 new packages, deleted 0 old in 0.09 seconds
primary.xml.gz 100% |=========================| 377 kB 00:08
updates : ################################################## 1164/1164
Added 1164 new packages, deleted 0 old in 10.55 seconds
primary.xml.gz 100% |=========================| 56 kB 00:01
freshrpms : ################################################## 180/180
Added 180 new packages, deleted 0 old in 1.40 seconds
primary.xml.gz 100% |=========================| 943 kB 00:25
extras : ################################################## 3557/3557
Added 3557 new packages, deleted 0 old in 24.66 seconds
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for ghostscript to pack into transaction set.
ghostscript-8.15.2-1.1.i3 100% |=========================| 8.6 MB 01:07
http://mirror.eas.muohio.edu/fedora/linux/core/updates/5/i386/ghostscript-8.15.2-1.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.

bob
8th June 2006, 04:14 PM
Nothing much on the Forum, but if you google: https://lists.dulug.duke.edu/pipermail/yum/2005-July/006996.html
There's a few other responses but nothing much in the 'help' category.

donhudock
8th June 2006, 04:48 PM
That thread is referring mainly to proxy problems, which I do not use. But, I tried the trace anyways and here is what I got:

echo -e "TRACE / HTTP/1.1\nHOST:mirror.eas.muohio.edu\n\n" | nc mirror.eas.muohio.edu 80
HTTP/1.1 200 OK
Date: Thu, 08 Jun 2006 15:42:31 GMT
Server: Apache/2.0.49 (Linux/SuSE)
Transfer-Encoding: chunked
Content-Type: message/http

31
TRACE / HTTP/1.1
HOST: mirror.eas.muohio.edu


0

I am pretty sure this means everything is OK ???

bob
8th June 2006, 06:40 PM
It would seem so. Why not open a bugzilla on this one? Doesn't seem to be a real 'fix' that I can find. Let's give it to the experts.

donhudock
8th June 2006, 07:22 PM
Actually, I just found a pretty good answer to this problem. I think it's my SonicWall (firewall / router) that may be blocking it. http://www.centos.org/modules/newbb/viewtopic.php?topic_id=982&forum=27

donhudock
8th June 2006, 08:36 PM
So far I have found no evidence that this is a firewall issue, but I'm still checking into it. Maybe the Bugzilla submission is the way to go.

donhudock
9th June 2006, 09:26 PM
OK, I finally found the solution on SonicWall's web site. Although their solution is not very clear, the bottom line is to disable the Gateway AntiVirus and Anti Spyware. I tried to disable just the Gateway AV and it still did not work. Then I disabled the Anti-Spyware and that did the trick. Hopefully this will help everyone getting the "Header Not Complete" errors (assuming they are using a SonicWall with Enhanced Firmware).

Here is what SonicWall has on their site:

If you are running SonicWALL's Gateway AntiVirus, the following changes can be made to resolve this issue:
From the diag page, enable FTP 'REST' requests with Gateway AV
From the diag page, enable HTTP Byte-Range requests with Gateway AV

The SonicWALL GAV by default suppresses the use of the FTP 'REST' (restart) request to prevent the sectional retrieval and reassembly of potentially malicious content. This is done by terminating the connection and thus preventing the user from receiving the malicious payload. By enabling this option you will override this setting.

The SonicWALL GAV by default suppresses the use of HTTP Byte-Range requests to prevent the sectional retrieval and reassembly of potentially malicious content. This is done by terminating the connection and thus preventing the user from receiving the malicious payload. By enabling this option you will override this setting.

If you need assistance with these settings, or this does not resolve your problem, please contact Technical Support.

PilotJLR
18th June 2006, 08:45 PM
Good call, Don! This was a sneaky one. I installed a TZ 170 a day ago, and then I enabled a new repo... I was getting this same error, and thought I had somehow messed up the repo config.

I disabled gateway AV and Spyware, and now it works perfectly again. Guess I don't really need those anyway, since only 1 of my machines runs Windows.

msargex2
30th October 2006, 04:51 PM
thanks, I have been dealing with this yum update issue for a few days till I came across this thread. In my situation I had to enter the ip of the linux box and exclude it from the Gateway AV, Network AV, and Antispyware. Had to leave them enabled as they protect the rest of the network. Finally a post that answered my prob! (Sonicwall 3060 Pro w/Gateway & Network AV, and Antispyware installed). :)