Hi Stephen,
This is a know problem of YUM and caching proxy.
1. YUM deliver Updates descriptions as TEXT files, each update RPM package have one
hedaer "control" file.
2. Sometimes it happen then you will try to download this header file, but its on YUM
repostiroy mirror incomplelete for example due to fact then you just have luck to HIT
"YUM repository" syncing time
3. When you hit this situation then YUM will receive incomplete file and report
wronkg header
4. If you don't have proxy is enought to just run YUM again, if your proxy "cache wrong file" you can try to reguest it with wget and correct "don't cache" headers so you proxy will delete wrong file in cache
This is a very nasty bug in YUM design (on both YUM repository and YUM clinet sides) YUM
"must try to get header again" and do the best to send "DON't cache" command to
proxy.
This problem with YUM and PROXY is reported several times for example on CENTOS.
- If I need to use YUM I use SOCKS
- If its not possible to bypass PROXY I use apt-get
Nice day
Rudolf
------------ Původní zpráva ------------
Od: Stephen John Smoogen <[EMAIL PROTECTED]>
Předmět: Re: [rhelv5-beta-list] And lo... rhn updates worked
Datum: 05.10.2006 21:23:38
----------------------------------------
On 10/5/06, Roman Lazarev <[EMAIL PROTECTED]> wrote:
> This is correct. The yum fix went out on Tuesday.
>
> Regards,
> Roman
>
>
Now to get the next fix working
[EMAIL PROTECTED] ~]# yum install xorg-x11-fonts*
Setting up Install Process
Setting up repositories
rhel-i386-server-cluster- 100% |=========================| 672 B 00:00
rhel-i386-server-suppleme 100% |=========================| 672 B 00:00
rhel-i386-server-vt-5-bet 100% |=========================| 672 B 00:00
rhel-i386-server-5-beta 100% |=========================| 672 B 00:00
rhel-i386-server-cluster- 100% |=========================| 672 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for xorg-x11-fonts-Type1 to pack into transaction set.
xorg-x11-fonts-Type1-7.1- 100% |=========================| 579 B 00:00
https://rhn.unm.edu/XMLRPC/GET-REQ/rhel-i386-server-5-beta/getPackage/xorg-x11-fonts-Type1-7.1-1.noarch.rpm:
[Errno -1] Header is not complete.
Trying other mirror.
Error: failure: getPackage/xorg-x11-fonts-Type1-7.1-1.noarch.rpm from
rhel-i386-server-5-beta: [Errno 256] No more mirrors to try.
> On Thu, 2006-10-05 at 11:27 -0600, Stephen John Smoogen wrote:
> > and the people saw it, and it was good.
> >
> > Looks like a fix got working last night. Congrats to the RHN and RHEL-5
team.
> >
>
> _______________________________________________
> rhelv5-beta-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rhelv5-beta-list
>
--
Stephen J Smoogen. -- CSIRT/Linux System Administrator
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"
_______________________________________________
rhelv5-beta-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-beta-list
_______________________________________________
rhelv5-beta-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-beta-list