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
http://mail.linux.ie/pipermail/ilug/2003-June/058217.html
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
/mnt/source/{RedHat|Fedora}/RPMS/fileutils-*.rpm
assuming it all works, when you reboot everything should be working
again.
--
Darragh
"Nothing is foolproof to a sufficently talented fool."
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!