[Spacewalk-list] Problem running spacewalk-repo-sync against a local rsync mirror
Jan Pazdziora
jpazdziora at redhat.com
Fri Dec 7 15:14:55 UTC 2012
On Sat, Nov 17, 2012 at 11:50:22PM +0700, Michel Alexandre Salim wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I made an rsync mirror of the updates repositories (security and
> fastbugs) for Scientific Linux 6.3 x86_64, as such:
>
> rsync -avr rsync://mirror.aarnet.edu.au/scientific/6.3/x86_64/updates
> /home/mirrors/ScientificLinux/6.3/x86_64/
>
> and the mirroring operation seems to work fine (the RPMs look fine,
> and to double check, I wiped the repodata directory and forced a resync).
>
> When running spacewalk-repo-sync against the same remote site, it works:
>
> > spacewalk-repo-sync -c sl-63-security-x86_64 -u
> > ftp://mirror.aarnet.edu.au/pub/scientific/6.3/x86_64/updates/security/
> >
> However, doing the same with the local copy fails:
>
> > spacewalk-repo-sync -f -c sl-63-security-x86_64 -u
> > file:///home/mirrors/ScientificLinux/6.3/x86_64/updates/security/
>
> > Repo URL:
> > file:///home/mirrors/ScientificLinux/6.3/x86_64/updates/security/
> > Packages in repo: 550 Packages already synced:
> > 9 Packages to sync: 541 1/541 :
> > firefox-10.0.6-1.el6_3-0.i686 Downloaded package
> > firefox-10.0.6-1.el6_3.i686, from sl-63-security-x86_64, but it was
> > invalid. ERROR: Downloaded package firefox-10.0.6-1.el6_3.i686,
> > from sl-63-security-x86_64, but it was invalid. Sync completed.
> > Total time: 0:00:16
>
> (if I did not specify -f, it would fail for every package and finish
> in less than a minute).
>
> Is this a known problem? I could try setting up a local web or FTP
> server, and see if accessing it via HTTP or FTP would work, but that
> seems silly.
It might be related to
https://bugzilla.redhat.com/show_bug.cgi?id=858632
You might want to try to upgrade yum and try again.
--
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat
More information about the Spacewalk-list
mailing list