On Mar 4, 2004, at 2:16 PM, Pedro Fernandes Macedo wrote:
I have a little situation here... My raid failed and I lost the /var
directory , among others.. I managed to make the system start again ,
but I need to update it (the / and /boot partitions were raid 1 , but
they werent in sync , dont ask me why..) , because the latest kernel I
have is 2149... but I can update , because the rpm db is gone.. I cant
rebuild the rpmdb , because it tries to use /var/lib/rpm/Packages ,
which is gone also...
Any ideas on how to rebuild the db?
(I cant reinstall the system now.. lots of things depend on this machine
and I need to do some things before reinstalling it)
Just restore from your backups, then rpm --rebuilddb.
-- Jason Dixon, RHCE DixonGroup Consulting http://www.dixongroup.net