[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: DO NOT sysadmin your box after midnight!
- From: "Mikkel L. Ellertson" <mikkel Infinity-ltd com>
- To: <redhat-list redhat com>
- Subject: Re: DO NOT sysadmin your box after midnight!
- Date: Thu, 30 Aug 2001 23:36:12 -0500 (CDT)
On Fri, 31 Aug 2001, David Kramer wrote:
>
> I was cleaning up another partition that used to be a root partition, but
> is now mounted under /oldroot.
>
> I deleted /var/lib/rpm instead of /oldroot/var/lib/rpm.
>
> I'm hosed, right? I tried rpm --initdb abd --rebuilddb, but that just
> creates an empty database, right? There's no way to update or delete
> rpm's, and most adds will complain about dependencies, right?
>
> -------------------------------------------------------------------
> DDDD David Kramer http://thekramers.net
> DK KD
> DKK D "No matter how much cats fight,
> DK KD there always seem to be plenty of kittens."
> DDDD - Abraham Lincoln (1809-1865)
>
Unless you have backups, there is no easy way to restore the database.
I hope someone else will have a better idea, because the best I can
offer you is to copy the database from another system that is set up
close to what you have, and then install and erase packages untill the
database matches what you realy have...
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]