[Spacewalk-list] Problem running spacewalk-repo-sync against a local rsync mirror

Michel Alexandre Salim salimma at fedoraproject.org
Sat Nov 17 16:50:22 UTC 2012


-----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.

I tried setenforce 0 too, on the off chance this is a SELinux-related
problem, but that's not the case.

> rpm -qf $(which spacewalk-repo-sync) 
> spacewalk-backend-tools-1.8.85-1.fc17.noarch

Any idea what could be causing this, and what workaround I should try?

Best regards,

- -- 
Michel Alexandre Salim
Fedora Project Contributor: http://fedoraproject.org/

Email:  salimma at fedoraproject.org  | GPG key ID: A36A937A
Jabber: hircus at jabber.ccc.de       | IRC: hircus at irc.freenode.net

()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQp8BOAAoJEEr1VKujapN64DkH/j3k432zP1A7hJzPANUrsD1V
8C4qAel/AIxmX+ATCIpgs9LiUXctu3EMWpdmrXlf1pSLg2s8ZPxGr/zcVdTkXYab
ql6klOloAhFbar4/8sB7gOaZ2qhbfNi0T6hJEVgLPTUQCUpl6N4RAyrF5Ejsoax9
pN5pASsMm6qB+10B6apPwaZWAmCmHLZxqhRQuTQaLM5LM0gxk44KSn6x4g73HXbu
jru4AUgWyI8WmA5iKSGT7Eu8aPy7TGximCey/FY1cqPvPqOsy8h/qSCokEvahnn+
WZojT+mfLWeeW+mUNWU6otOeKwG0/lu/srlS4Vm7FJveXygFwPtoGUKkMvtK5EA=
=WRyc
-----END PGP SIGNATURE-----




More information about the Spacewalk-list mailing list