[Spacewalk-list] Broken reposync??

Michael Mraka michael.mraka at redhat.com
Wed Apr 14 08:23:03 UTC 2010


andre at vandervlies.xs4all.nl wrote:
% 
% How do I repair this?
% 
% /usr/bin/spacewalk-repo-sync --channel dag-el5-i386 --url
% http://apt.sw.be/redhat/el5/en/i386/dag/ --type yum --label dag-el5-i386
% Repo http://apt.sw.be/redhat/el5/en/i386/dag/ has 10284 packages.
% 1/1 : blobwars-1.07-1.el5.rf-0.i386
% error: rpmts_HdrFromFdno: MD5 digest: BAD
% Expected(d89999554a6046d7c9842d6fbe32e5a7) !=
% (1a6542ee1f2e66a0c307ed2eefe83f84)

The package is broken.
$ wget http://apt.sw.be/redhat/el5/en/i386/dag/RPMS/blobwars-1.07-1.el5.rf.i386.rpm
$ rpm -Kv blobwars-1.07-1.el5.rf.i386.rpm 
blobwars-1.07-1.el5.rf.i386.rpm:
    Header V3 DSA signature: NOKEY, key ID 6b8d79e6
    Header SHA1 digest: OK (d84bff32816f8f504fbe2f74de751563ca3d738a)
    MD5 digest: BAD Expected(d89999554a6046d7c9842d6fbe32e5a7) != (1a6542ee1f2e66a0c307ed2eefe83f84)
    V3 DSA signature: BAD, key ID 6b8d79e6

It should be reported to the repo maintainer.

% ERRORException reported from zwalk
% Time: Wed Apr 14 09:10:23 2010
% Exception type common.rhnException.rhnFault
% 
% Exception Handler Information
% Traceback (most recent call last):
%   File "/usr/share/rhn/satellite_tools/reposync.py", line 136, in
% import_packages
%     self.upload_package(pack, path)
%   File "/usr/share/rhn/satellite_tools/reposync.py", line 151, in
% upload_package
%     header, payload_stream, header_start, header_end = \
%   File "/usr/share/rhn/server/rhnPackageUpload.py", line 296, in load_package
%     raise rhnFault(50, "Unable to load package", explain=0)
% rhnFault: (50, 'Unable to load package', 'Invalid information uploaded to
% the server')

Anyway it'd be nice if spacewalk-repo-sync can recover from broken
package... please file a bugzilla for that.
Thanks.

% Sync complete
% 
% I've flushed and resynced.... deleted and reinstalled the channel...
% No succes.

Regards,

--
Michael Mráka
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list