I am James Ots and that's my real blog, but I've created this one so I can blog about Android, Linux and geeky things like that.
Saturday, April 28, 2007
Oops, I lost my rpmdb
Yesterday my computer started randomly rebooting when I was trying to install packages on my computer, so I booted from a live CD and ran resierfsck on my disk, which fixed a whole bunch of things. But now when I run rpm -qa I get a list of no packages - and running rpmdb --rebuilddb doesn't help. Fortunately smart query lists everything that is installed, so I'm pretty sure there must be some way to get the rpmdb back, but I can't find it. Help!