Re: Wrong __dbs deleted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 30 Apr 2003, Mike Vanecek wrote:

> > > Tried running --initdb ...
> >
> > Oh dear, you appear to have wiped out your database. You now need to
> > restore it from backups, or remember what packages you had installed
> > (look in /var/log/rpm*) and use rpm --justdb for each package to
> > recreate it. In some cases it is simpler to re-install.
>
> I did a rebuilddb and everything seems to be in the db. I did a rpm -q for all
> the packages I know I installed and they pop right up. I thought that --initd
> created the db and --rebuilddb rebuilt it based on the stored headers?

rpm --initdb creates a clean empty database, and unless they have changed
things recently, overwrites the existing database, including the bits that
rpm --rebuilddb uses to rebuild the database from. It sounds like you have
had a lucky escape.

	Michael Young





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux