On Wed, 24 Jul 2002 07:17, Rob Wellesley wrote:
> > > rpm2cpio on the real rpm and the src.rpm might be what you need?
>
> if i rpm2cpio some_rpm.some_arch.rpm > file.txt
>
> I get a mountain of "binary gibberish" ?
>
> The man page states - "extracts cpio archive for any .rpm"
Perhaps you want to run the output of rpm2cpio through cpio to get
the files out of the cpio archive?

You probably wanted to:
rpm2cpio some_rpm.some_arch.rpm | cpio -iv

But reading the man page (or better, a unix book, since the man
page is pretty sucky) on cpio is probably worth it.

Brad
-- 
http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.

--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to