Re: How can I install RPM if RPM is broken? SOLVED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The rpm2cpio & cpio trick worked. All is now well.

For those who don't know the trick, here it is:

get rpm-4.xxx AND popt-1 .xxx

run rpm2cpio rpm* > rpm.cpio ( also popt)

cd / <--- important

cat /path/to/rpm.cpio | cpio -id
cat /path/to/popt.cpio | cpio -id
ldconfig

This will install all the files. Obviously it doesn't run any scripts.

Now go rpm -Uvh rpm-4* popt-1* both to run any scripts and to fix rpm's database.

Thanks for all the help

sean

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux