Red Hat Bugzilla – Bug 56705
rpm -i older.src.rpm does not work
Last modified: 2008-05-01 11:38:01 EDT
Description of Problem:
`rpm -i' fails on older src.rpm's
Version-Release number of selected component (if applicable):
rpm-4.0.3 on default redhat 7.2
Steps to Reproduce: (example)
2. ~# rpm -i xgoban-wally-1-1.src.rpm
error: unpacking of archive failed on file xgoban-wally.spec: cpio: Archive
file not in header
Installs the source files to $RPM_SOURCE_DIR and the spec file
This has nothing to do with this specific package. This happens to
lots of packages, both from the web and custom built..
They *can* be installed(unpacked) like this:
rpm2cpio some.src.rpm | rpm2cpio -idumv
but that's defying the purpose of rpm.
They can be installed(unpacked) on at least redhat 6.2 without
The xgoban package was prepared on 1/17/98, dunno
what version of rpm 2.4.10. That's a long time ago, and
there are many problems long since fixed in rpm-2.x.y.
Use rpm2cpio to create a new src.rpm. 'Tain't hard, nowhere
near as hard as trying to maintain legacy compatible code
for buggy software.
It's not only src.rpm's. I can't install the old Applix rpms I've been using up
to Red Hat 7.1 on Red Hat 7.2.
# rpm -i --nodeps applix-4.3-2.office.i386.rpm
error: unpacking of archive failed on file applix/applix: cpio: Archive file not