On Wed, Mar 15, 2006 at 10:23:45AM -0500, Mark Haney wrote: > Mikkel L. Ellertson wrote: > >Mark Haney wrote: > > > >>Okay, my very first hosed rpmdb. I tried rebuilddb, no go. I tried > >>initdb /then/ rebuilddb no go. Any other ideas? Fortunately, this > >>isn't a production system (yet) so I can blow it away if I need to. I > >>was running up2date on the box from ssh and for some reason sshd died in > >>the middle of it. > >> > >> > >Using the initdb option on a working system is not a good idea. What > >it does is create a new, empty RPM database. I hope you backed up > >the database before trying to fix the problem. > > > >Mikkel > > > Well as it is, I'm just going to blow it away. I really wanted to fix > it, but I just don't have the time for it unfortunately. Thanks for the > suggestions. > What has always worked for me is to do a: rm /var/lib/rpm/__db.* followed by a: rpm --rebuilddb ------------------------------------------- Aaron Konstam Computer Science Trinity University telephone: (210)-999-7484