Red Hat Bugzilla – Bug 837945
Can't extract rpms from RHEL6 on RHEL5
Last modified: 2013-03-07 05:49:33 EST
Description of problem: It would be nice if I could open rpms on RHEL5 that were made on RHEL6. The rpm2cpio command reports:
cpio: warning: skipped 9230 bytes of junk
cpio: warning: archive header has reverse byte-order
5p????hP#? : unknown file type
cpio: premature end of file
Or similar. It would be nice if the rpm could still be extracted.
This is not a request to install RHEL6 rpms on RHEL5, rather I just want rpm2cpio to work.
Version-Release number of selected component (if applicable):rpm-188.8.131.52-28.el5_8.i386
How reproducible: always
Steps to Reproduce:
1. Find a source rpm build on RHEL6 with rpmbuild
2. put it on a RHEL5 box
3. try and run rpmbuild --rebuild on the source rpm
4. get errors on extraction.
Actual results: can't open rpm
Expected results: being able to open the rpm
*** This bug has been marked as a duplicate of bug 602423 ***