-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 11 June 2002 04:13 pm, Paul Thomas wrote: > Hi, > > I made a directory called 'work'. In it I put an rpm package. I > would like to unpack this package and install itself with directory > tree in a subdirectory of the 'work' directory. I don't want rpm > to install the package in the system itself. I just want to be > able to inspect a few things first. > > I guess the related switches I might need to use are:
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