Re: Broken local yum repos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 11, 2007 at 04:26:50PM -0500, James Pifer wrote:
> I have a local repo for FC5 and FC6. FC6 is new, but FC5 has been
> working for a long time. I decided to clean up my scripts and now I've
> broken it.
> 
> Some of these were updating using rsync, some using lftp. I decided to
> make them all use lftp. I made the changes and they appear to be
> updating, including the repodata, but now some of them don't work. Even
> if I remove the repodata directory and rebuild the repodata manually
> they fail. 
> 
> For example, if I have my local atrpms enabled I get this when I do a
> yum update:
> 
> Reading repository metadata in from local files
> primary.xml.gz            100% |=========================| 243 kB    00:00
> http://192.168.1.2/repomirror/fedora/linux/5/i386/atrpms/i386/stable/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum

This sounds like the metadata was changed during your syncing, or your
syncing did not catch some new files. ATrpms has atomic changes,
e.g. both data and metadata changes are swapped in
instantaneously. But if you started syncing shortly before the update
and finished afterwards you will have a mixed copy.

The same will happen with http and ftp transfers if you have some
"transparent" proxy between you and the the source that will give you
old content. rsync is therefore safer.
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpmaJUZ6yV2T.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux