Thursday, August 16, 2007

RPM hung on me

Couple of days ago, I killed yumex because it hung. Afterthat, everything hung. I couldn't run rpm or yum in command line. I tried rebuilding the database with rpm --rebuild but to no avail. Found a solution after googling. The solution :

rm /var/lib/rpm/__db.*

The above command removes any locks left on the rpm database and now you should able to use rpm command. Make sure you run the above command as root for obvious reason.

No comments:

Nvidia new hotplug feature on Linux

 If you use nvidia driver for your GPU, you probably wonder why in some config, you can't hotplug your second monitor. You need to reboo...