[ale] RPM command line help
Keith Hopkins
hne at hopnet.net
Tue Oct 26 17:08:31 EDT 2004
Dow_Hurst wrote:
> I want to install an older glibc from SuSE 9.0 into my SuSE 9.1. Here is the command line I think will keep it from screwing up my current system:
>
> rpm -ivvvh --test --relocate /etc=/opt/lib --relocate /lib=/opt/lib --relocate /sbin=/opt/lib --relocate /usr=/opt/lib --badreloc --oldpackage --noscripts /home/dhurst/SuSE_rpms/glibc-2.3.2-92.i586.rpm
>
> What I want is for it to install all the files in the rpm into /opt/lib. I don't see how to extract just the single file I want out of the rpm. Any problems with what I want to do? I don't want the rpm to do symlinks in my regular system files either.
I don't see how to extract a single file either....which is why I use the "rpm2cpio fn.rpm | cpio -id " combo to extract everything into /tmp, where I can pluck out the file I need.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3383 bytes
Desc: S/MIME Cryptographic Signature
More information about the Ale
mailing list