2012-09-09

Hi, I'm very new to Ubuntu and I've been having a problem with the rpmdb.

I was trying to install MySQL Server 5.5.27 and I read that I would have to use the RPM and use Alien to install it. I had an error because I already had a previous version of MySQL so I used Aptitude to delete MySQL. When I got around to using Alien again with the RPM I was having all sorts of errors including the one bellow. After lots of googling I managed to remove most of them, but I cant seem to get rid of the last few involving the rpmdb.

I've tried running rpm --rebuilddb as well as deleting the files in the rpm folder, but the folder contains no files to begin with.

Can someone please help me?

Quote:

error: rpmdb: Thread/process 6853/140160051517184 failed: Thread died in Berkeley DB library

error: db5 error(-30973) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery

error: cannot open Packages index using db5 - (-30973)

Show more