[ILUG] rpm does not install packages
felix at compsoc.nuigalway.ie
Tue Nov 28 12:45:05 GMT 2006
On Tue, Nov 28, 2006 at 06:19:54AM +0000, Kae Verens wrote:
> fileutils is very fundamental, and includes commands such as cp, mv, rm
> and other very very important commands.
> you've basically just done the same thing as "rpm -e --nodeps my_head".
> it's no wonder you can't do anything now. "--nodeps" is a very serious
> thing to use.
> you have only a few options ahead of you.
> 1. total renstallation - hopefully you've had the foresight to keep your
> data on separate partitions
> 2. reconstruction - boot with a live cd such as ubuntu, and physically
> copy over the missing files, then reboot into your normal system (if it
> will reboot) and try RPM again.
Option number 3 is to boot with the CD/DVD into recover mode and use
some of the steps from this posting I made previously
basically from the CD environment (i.e. not chroot'ed under
/mnt/sysimage or where ever else the main system gets mounted).
# move asside the rpm database in the live environment
mv /var/lib/rpm /var/lib/rpmold
# link to the system rpm database so it will be used by rpm
ln -s /mnt/sysimage/var/lib/rpm /var/lib/rpm
# install fileutils
rpm -ihv --root /mnt/sysimage
assuming it all works, when you reboot everything should be working
"Nothing is foolproof to a sufficently talented fool."
More information about the ILUG