Failed primary.xml.gz in FC1

Michael Mansour mic at npgx.com.au
Mon Dec 19 03:46:11 UTC 2005


Hi David,

> > Hi,
> > 
> > When I try and perform a check-update to get the latest FL updates for an FC1
> > machine, I get the following:
> > 
> > # yum check-update
> > Setting up repositories
> > Reading repository metadata in from local files
> > primary.xml.gz            100% |=========================| 254 kB    00:05
> >
http://download.fedoralegacy.org/fedora/1/updates/i386/repodata/primary.xml.gz:
> > [Errno -1] Metadata file does not match checksum
> > Trying other mirror.
> > Error: failure: repodata/primary.xml.gz from fedoralegacyupdates: [Errno 256]
> > No more mirrors to try.
> > 
> > Checking the file it is there and does exist, but seems to be broken?
> > 
> > Michael.
> 
> Hey Michael,
> 
> Curious.  What version of yum are you using?

I use the latest from ATrpms: yum-2.4.1-64.rhfc1.at

I've been using yum from ATrpms for ages, and on multiple servers (FC1 - 3,
RHEL3 - 4) so they are a uniform yum version (with the same features) through
my environment and never a problem. Just today this has shown up.

> Looking at these lines in a freshly-downloaded repomd.xml from
> download.fedoralegacy.org versus an sha1sum of a freshly-downloaded
> primary.xml.gz, it appears that the checksum should match:
> 
>   <data type="primary">
>     <location href="repodata/primary.xml.gz"/>
>     <checksum type="sha">ac9fbb74145e3e77e1c2354c1ee0e9de25385a48</checksum>
>     <timestamp>1134883655</timestamp>
> 
> versus
> 
>     $ sha1sum primary.xml.gz
>     ac9fbb74145e3e77e1c2354c1ee0e9de25385a48  primary.xml.gz

Checking my one:

# sha1sum primary.xml.gz
ac9fbb74145e3e77e1c2354c1ee0e9de25385a48  primary.xml.gz

The same as that too.

> Perhaps the headers are corrupted on your system and need to be re-
> down- loaded.  Have you tried:
> 
>    # yum clean headers
>    # yum check-update

Hmmm.. I've run both these and it seems to have fixed the problem:

# yum check-update
Setting up repositories
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 254 kB    00:05
fedoralega: ################################################## 730/730
Added 730 new packages, deleted 0 old in 7.09 seconds

a2ps.i386                                4.13b-30.2.legacy     
fedoralegacyupdates
enscript.i386                            1.6.1-25.1.1.legacy   
fedoralegacyupdates
gtk2.i386                                2.2.4-10.3.legacy     
fedoralegacyupdates
losetup.i386                             2.11y-29.2.legacy     
fedoralegacyupdates
lynx.i386                                2.8.5-13.2.legacy     
fedoralegacyupdates
mount.i386                               2.11y-29.2.legacy     
fedoralegacyupdates
openssl.i686                             0.9.7a-33.13.legacy   
fedoralegacyupdates
openssl-devel.i386                       0.9.7a-33.13.legacy   
fedoralegacyupdates
redhat-config-nfs.noarch                 1.1.3-3.legacy        
fedoralegacyupdates
util-linux.i386                          2.11y-29.2.legacy     
fedoralegacyupdates

Thanks.

Michael.

> ?
> 
> 	Warm regards,
> 	David Eisenstein
> 
> --
> fedora-legacy-list mailing list
> fedora-legacy-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-legacy-list
------- End of Original Message -------




More information about the fedora-legacy-list mailing list