RPMDB unlock fails on Mageia 6

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

RPMDB unlock fails on Mageia 6

Postby scorpian60 » Oct 24th, '17, 21:56

I have 2 systems running Mageia 6. I reloaded them twice. I still get this error when the Mageia auto update is running.

A fatal error occured: unable to open rpmdb.


Must be permissions?
scorpian60
 
Posts: 4
Joined: Oct 24th, '17, 18:21

Re: RPMDB unlock fails on Mageia 6

Postby doktor5000 » Oct 24th, '17, 22:51

scorpian60 wrote:Must be permissions?

No, that's always an issue with the RPM database, as this is readable as regular user.

Please try as root with
Code: Select all
rpm -v --rebuilddb

You may also want to check if there are any stale locks beforehand
Code: Select all
ls -al /var/lib/rpm/__*


For more information check e.g. https://people.redhat.com/berrange/note ... overy.html
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron