Every now and then the database locks up and I can't do anything else but
"rpm --rebuilddb".
It occurs periodically when using Synaptic or installing a package.
Just now I updated mozilla and got this
- Code: Select all
[root@dhcp-2354-337 Mozilla]# rpm -Uvh *.rpm
error: cannot get shared lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
error: Failed dependencies:
mozilla-nspr = 1.0.2-2.8.0 is needed by (installed) mozilla-1.0.2-2.8.0
(On a sidenote, I had all the necessary packages in the dir.)
I did a "rpm --rebuilddb" and then everything ran ok.
Has anyone else ever experienced this on a regular basis and perhaps know about a fix?


