Yes! This is what I need to do, thanks! The only trouble is when
I try:

rpm2cpio SysVinit-2.77-2.i386.rpm | cpio -dim --no-absolute-filenames
 
I get a 'broken pipe' error:(

Thanks again,

--Paul




On Tue, 11 Jun 2002, Michael Fratoni wrote:

> Don't use rpm at all for this. You can use rpm2cpio, like so:
> 
> [mfratoni@paradox tmp]$ ls
> logsentry-1.1.1-1.i386.rpm
> 
> [mfratoni@paradox tmp]$
> rpm2cpio logsentry-1.1.1-1.i386.rpm | cpio -dim --no-absolute-filenames
> 
> [mfratoni@paradox tmp]$ ls
> etc  logsentry-1.1.1-1.i386.rpm  usr  var
> 
> [mfratoni@paradox tmp]$ ls etc/
> cron.hourly  logsentry
> [mfratoni@paradox tmp]$ ls usr/
> bin  share
> [mfratoni@paradox tmp]$ ls var/
> logsentry
> 
> Be sure to use the --no-absolute-filenames switch to force cpio to create 
> the files in the current working directory. It may not be necessary, but 
> seems prudent. ;)
> 
> - -- 
> - -Michael
> 
> pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
> Red Hat Linux 7.2 in 8M of RAM: http://www.rule-project.org/
> - --
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iEYEARECAAYFAj0GgswACgkQn/07WoAb/Ss2dgCgiSQMOvswdJmr3HwyWjUSFI4y
> 9U4AoJiEQIgBBYKOS3HLIbULMF1to2Rm
> =KhIC
> -----END PGP SIGNATURE-----
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 

--
William J. Broad: "The crux... is that the vast majority of the mass
of the universe seems to be missing."




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to