satellite sync is failing with "error: error reading package header"
Issue
- Satellite-sync is failing with "SYNC ERROR: unhandled exception occurred".
-
Following error occur when running, satellite-sync -c rhel-x86_64-server-5
Exception Handler Information Traceback (most recent call last): File "/usr/bin/satellite-sync", line 143, in main return satsync.Runner().main() File "/usr/share/rhn/satellite_tools/satsync.py", line 226, in main ret = method() File "/usr/share/rhn/satellite_tools/satsync.py", line 343, in _step_packages self._affected_channels = self.syncer.import_packages() File "/usr/share/rhn/satellite_tools/satsync.py", line 1785, in import_packages sync_handlers.import_packages(batch, sources) File "/usr/share/rhn/satellite_tools/sync_handlers.py", line 433, in import_packages importer.run() File "/usr/share/rhn/server/importlib/importLib.py", line 651, in run self.submit() File "/usr/share/rhn/server/importlib/packageImport.py", line 323, in submit self._import_signatures() File "/usr/share/rhn/server/importlib/packageImport.py", line 511, in _import_signatures header = rhn_rpm.get_package_header(filename=full_path) File "/usr/lib/python2.4/site-packages/spacewalk/common/rhn_rpm.py", line 287, in get_package_header hdr = ts.hdrFromFdno(file_desc) File "/usr/lib/python2.4/site-packages/spacewalk/common/rhn_rpm.py", line 110, in hdrFromFdno return self.ts.hdrFromFdno(fd) error: error reading package header
Environment
-
Red Hat Enterprise Linux
-
Satellite 5.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.