[Yum] Re: proxy and ftp ([Errno -1] Header is not complete)
Hector Akamine
akamine at gmail.com
Wed Jul 13 00:28:05 UTC 2005
Hi and thanks for the replies,
Greg Knaddison <greg.knaddison <at> gmail.com> writes:
>
> >
> > On Tue, Jul 12, 2005 at 03:41:27PM +0900, Hector Akamine wrote:
> > > Hi,
> > >
> > > I just read the thread in which it is suggested to access a ftp server
> > > instead of http to solve the "header is not complete" error when
> > > behind a proxy. In my case it doesn't work (the output I get is
> > > included below). I am using the yum version that comes with FC4. Any
> > > suggestions?
> > >
>
>
> It looks like you have 50 items that need to be updated. Can you do a
> #yum list updates
>
> and then choose a different package from that list and do a
> #yum update <package>
>
> for that package? That will help identify if it's a "this package" problem.
>
> Also, if you can try using a different ftp repository that would help
> us to see if this is a "this repository" or a "your broken proxy"
> problem.
Didn't have luck with any of these (yum output below). This time I used redhat's
ftp server
>
> If it's just this package or just this repository, the solution is to
> use a new repository. If it's your broken proxy, then you are likely
> going to have to update/fix the proxy or create your own local yum
> repository.
>
It seems that I will have to do the updates by hand. Fixing the proxy is not an
option (don't have access to it), and probably don't have enough disk space to
create a repository. other alternatives?
Thanks,
Hector
[root at localhost yum.repos.d]# yum update
Setting up Update Process
Setting up repositories
updates-released 951 B 00:00
extras 1.1 kB 00:00
base 1.1 kB 00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package hwdata.noarch 0:0.158.1-1 set to be updated
---> Downloading header for metacity to pack into transaction set.
metacity-2.10.0-2.fc4.i386.rpm 1.8 MB 00:20
ftp://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/
metacity-2.10.0-2.fc4.i386.rpm:
[Errno -1] Header is not complete.
Trying other mirror.
Error: failure: metacity-2.10.0-2.fc4.i386.rpm from updates-released: [Errno
256] No more mirrors to try.
[root at localhost yum.repos.d]# yum list updates
Setting up repositories
updates-released 951 B 00:00
extras 1.1 kB 00:00
base 1.1 kB 00:00
Reading repository metadata in from local files
Updated Packages
(lots of packages...)
...
tcpdump.i386 14:3.8.2-13.FC4 updates-released
util-linux.i386 2.12p-9.5 updates-released
vixie-cron.i386 4:4.1-36.FC4 updates-released
xorg-x11.i386 6.8.2-37 updates-released
...
(more packages ....)
[root at localhost yum.repos.d]# yum update tcpdump
Setting up Update Process
Setting up repositories
updates-released 951 B 00:00
extras 1.1 kB 00:00
base 1.1 kB 00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for tcpdump to pack into transaction set.
tcpdump-3.8.2-13.FC4.i386.rpm 367 kB 00:04
ftp://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/
tcpdump-3.8.2-13.FC4.i386.rpm:
[Errno -1] Header is not complete.
Trying other mirror.
Error: failure: tcpdump-3.8.2-13.FC4.i386.rpm from updates-released:
[Errno 256]
No more mirrors to try.
More information about the Yum
mailing list