ERROR: Cannot get shared lock on RPM Database

Rob Maidment Rob.Maidment at
Mon Jul 13 16:52:24 UTC 2009

I have built RPM 4.7.0 and installed it as per the instructions in the
INSTALL file, culminating in a successful call to “make install”.  My
linux is “from scratch”, the kernel version is 

Following the install of RPM I can see the database files in /var/lib/rpm.

I'm trying to install software that requires RPM (Intel Vtune), but the software's script displays the following error:

ERROR: Cannot get shared lock on RPM Database.

Does anyone know why this might be, or how to diagnose?  I have previously executed "sudo su -"


This e-mail and any files transmitted with it are strictly confidential, may be privileged and are intended only for use by the addressee unless otherwise indicated.  If you are not the intended recipient any use, dissemination, printing or copying is strictly prohibited and may be unlawful.  If you have received this e-mail in error, please delete it immediately and contact the sender as soon as possible.  Clearswift cannot be held liable for delays in receipt of an email or any errors in its content. Clearswift accepts no responsibility once an e-mail and any attachments leave us. Unless expressly stated, opinions in this message are those of the individual sender and not of Clearswift.

This email message has been inspected by Clearswift for inappropriate content and security threats. 

To find out more about Clearswift’s solutions please visit

More information about the Rpm-list mailing list