This is for when somehow your rpm installation is broken, and you'd like to use rpm to fix it.
boot from your installation CD/DVD, type linux rescue at the prompt
(less is in /usr/bin)
mount your root partition at /hd (in this example it's at /dev/hda5, and it has an ext2 filesystem): cd / mkdir hd mount -t ext2 /dev/hda5 /hd rpm --root /hd --nodeps -e rpm cd /mnt/source/RedHat/RPMS rpm --root /hd -i rpm-4.0.2.i386.rpm
remove CD/DVD, reboot
Send me your comments!
Something didn't work as expected?
You'd like to add some useful info to this tip?
Use the form below to send me your comments.
(Don't forget to fill out the super-lame CAPTCHA below..)
Send me your comments!
Something didn't work as expected? You'd like to add some useful info to this tip? Use the form below to send me your comments. (Don't forget to fill out the super-lame CAPTCHA below..)