[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [FLAME WARNING] Linux Standards Base and Debian

On Wed, 9 May 2001, Timothy H. Keitt wrote:

> Its been a while, but if I remember correctly, RPMs are in cpio format.

$ cpio -idv -F gnocatan-client-0.6.1-2.alpha.rpm
cpio: warning: skipped 61098 bytes of junk
cpio: warning: archive header has reverse byte-order
cpio: [binary garbage output snipped]: unknown file type
cpio: premature end of file

... apparently not...

RPMs are in fact based on the cpio format, but I think they stick their own
header on the front of the file -- the only way I've ever seen cpio handle the
contents of an RPM is after passing the RPM through the rpm2cpio utility.

Steve Langasek
postmodern programmer

Reply to: