On Tue April 14 2009 7:11:01 am Carlos E. R. wrote:
On Tuesday, 2009-04-14 at 05:46 -0400, Richard wrote:
That almost works. Apparantly the *.src files are all gzipped and I can't find how to separate the pieces. MC is very powerful and I didn't know about the 'dive-in' feature for RPM's. For regular archives, it looks like it is just doing a 'cd <directorypath>' and if a RPM stored files separately, what MC does would be fine. I don't see any separate files, just /info, HEADER install.sh and update.sh which are 39 byte executables. I can't locate where the actual files are contained.
Just hit enter on the gzipped part inside (for source rpms). Or the cpio part for binaries.
Ie, mc can open archives inside archives inside archives inside ar...
-- Cheers, Carlos E. R.
The RPM in question is hosed and had no cpio or gzipped file in the 'directory' as displayed by MC yet the file was huge, way larger than suggested by the mc 'directory'. However, for other RPMS that I used your suggestion on, both src and package RPMs, and they work as you describe. I just happened to choose a buggered rpm where something in the 'directory' structure must have been comprimised and nothing was pointing to the 'guts' of the RPM. Oh well, maybe I can find another copy in a backup archive on one of my other systems that isn't damaaged. If not, I'll see if I can plagerize some code that is similar. One question though comes to mind with MC. Is it possible to INSERT a file into a RPM, eg, say it is a src rpm and I want to remove/edit a something.c source file and reinsert it back into the rpm without going to the trouble of having to extract all files, modify specs (possibly) and doing a rpmbuild? Thanks again for your help. -- Richard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org