Error Cannot Get Exclusive Lock On /var/lib/rpm/packages
Wiki Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages User Name Remember Me? Password Linux - Software This forum is for Software issues. Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 08-24-2003, 02:34 PM #1 inward_eye LQ Newbie Registered: Aug 2003 Posts: 8 Rep: error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages im trying to uninstall gaim so i can install a newer version. but when i type rpm -e ga
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > error: cannot get exclusive lock on /var/lib/rpm/Packages Want to Advertise Here? Solved error: cannot get exclusive lock on /var/lib/rpm/Packages Posted on 2006-04-27 Installation Linux 1 Verified Solution 5 Comments 3,056 Views Last Modified: 2013-11-13 Hi I am using Redhat 7.1 and I am getting the following errors when using rpm Start NetWorker daemons at end of install [yes]? n error: cannot get exclusive lock on /var/lib/rpm/Packages http://www.linuxquestions.org/questions/linux-software-2/error-cannot-get-exclusive-lock-on-var-lib-rpm-packages-error-cannot-open-packages-85220/ error: cannot open Packages index using db3 - Operation not permitted (1) error: cannot open Packages database in /var/lib/rpm [root@voyager legatodeps]# rpm -i rpm-4.0.3-6x.i386.rpm error: cannot get exclusive 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 I logged in as root any ideas whats happening here? 0 Question by:dan4sail Facebook Twitter LinkedIn Google LVL 51 Best Solution byahoffmann > error: cannot get exclusive lock on /var/lib/rpm/Packages another process https://www.experts-exchange.com/questions/21829451/error-cannot-get-exclusive-lock-on-var-lib-rpm-Packages.html is holding a lock on this file, check with lsof, stop the other process Go to Solution 5 Comments LVL 51 Overall: Level 51 Linux 17 Installation 2 Message Expert Comment by:ahoffmann2006-04-27 sounds like another rpm ist still running or a previous rpm was aborted unexpected and left its lock file in /var/lib/rpm what do you get with ls -la /var/lib/rmp 0 Message Author Comment by:dan4sail2006-04-27 [root@voyager legatodeps]# ls -la /var/lib/rpm total 15745 drwxr-xr-x 2 root root 1024 Apr 20 13:42 . drwxr-xr-x 16 root root 1024 Apr 20 13:52 .. -rw-r--r-- 1 root root 2695168 Apr 21 12:07 Basenames -rw-r--r-- 1 root root 12288 Apr 20 13:51 Conflictname -rw-r--r-- 1 root root 12288 Apr 21 12:07 Group -rw-r--r-- 1 root root 24576 Apr 21 12:07 Name -rw-r--r-- 1 root root 13168640 Apr 21 12:07 Packages -rw-r--r-- 1 root root 90112 Apr 21 12:07 Providename -rw-r--r-- 1 root root 118784 Apr 21 12:07 Requirename -rw-r--r-- 1 root root 12288 Apr 20 13:51 Triggername 0 LVL 51 Overall: Level 51 Linux 17 Installation 2 Message Accepted Solution by:ahoffmann2006-04-27 > error:
Help Here Applications what has happened to my zypper Welcome! If this is your first visit, be sure to check out the FAQ. You will have to register before you can post in the forums. https://forums.opensuse.org/showthread.php/449095-what-has-happened-to-my-zypper (Be aware the forums do not accept user names with a dash "-") http://www.centos.org/forums/viewtopic.php?t=32964 Also, logging in lets you avoid the CAPTCHA verification when searching . Select Articles, Forum, or Blog. Posting in the Forums implies acceptance of the Terms and Conditions. Results 1 to 6 of 6 Thread: what has happened to my zypper Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to error cannot Hybrid Mode Switch to Threaded Mode 30-Oct-2010,10:33 #1 partner1985 View Profile View Forum Posts View Blog Entries View Articles Newcomer Join Date Oct 2010 Location China Posts 8 what has happened to my zypper when try to install libqt4-devel, it stucked like this Code: /usr/share/man> sudo zypper install libqt4-devel Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW packages are going to be installed: dbus-1-devel libdrm-devel error cannot get libjpeg-devel liblcms-devel libmng-devel libqt4-devel libtiff-devel Mesa-devel sqlite3 sqlite3-devel 10 new packages to install. Overall download size: 8.6 MiB. After the operation, additional 44.2 MiB will be used. Continue? [y/n/?] (y): Installing: sqlite3-3.6.23-4.1 [error] Installation of sqlite3-3.6.23-4.1 failed: (with --nodeps --force) Error: Subprocess failed. Error: RPM 失败:warning: waiting for exclusive lock on /var/lib/rpm/Packages error: cannot get exclusive 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 Abort, retry, ignore? [a/r/i] (a): And then I tried to install smplayer, the same problem occured........... who can help me Reply With Quote 30-Oct-2010,10:41 #2 caf4926 View Profile View Forum Posts View Blog Entries Visit Homepage View Articles Global Moderator Join Date Jun 2008 Location The English Lake District. UK - GMT/BST Posts 37,817 Re: what has happened to my zypper Try running as su - Code: zypper clean --all Code: rpmdb --rebuilddb Kernel: 4.7.2-1-default x86_64 | Desktop KDE 5 Distro: "openSUSE" "20160812" "Tumbleweed" My Articles Was I any help? If yes: Click the star below ✰ Reply With Quote 30-Oct-2010,10:44 #3 partner1985 View Profile View Forum Posts View Blog Entries View Articles Newcomer Join Date Oct 2010 Location China Posts 8 Re: what has happene
questions including new installations Post Reply Print view Search Advanced search 11 posts 1 2 Next coolboarderguy Posts: 53 Joined: 2005/06/03 16:50:59 Location: Tokyo GPG Keys Quote Postby coolboarderguy » 2005/08/20 04:18:39 Hi All,ok, took the plunge, and allowed this new install to touch the net, and when running yum for the 1st time, I get the following,[root@localhost cdrecorder]# yum updateYou have enabled checking of packages via GPG keys. This is a good thing.However, you do not have any GPG public keys installed. You need to downloadthe keys for packages you wish to install and install them.You can do that by running the command: rpm --import public.gpg.keyAlternatively you can specify the url to the key you would like to usefor a repository in the 'gpgkey' option in a repository section and yumwill install it for you.For more information contact your distribution or package provider.[root@localhost cdrecorder]#so, I ran rpm --import public.gpg.key but got the following,[root@localhost cdrecorder]# rpm --import public.gpg.keyerror: public.gpg.key: import read failed.[root@localhost cdrecorder]#What is needed here..?EDIT: Ok, I found DAG and did the following,[root@localhost cdrecorder]# rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txtwarning: cannot get exclusive lock on /var/lib/rpm/Packages[root@localhost cdrecorder]# Top K_Frye Posts: 425 Joined: 2005/07/13 01:48:35 Location: Canada Re: GPG Keys Quote Postby K_Frye » 2005/08/20 04:59:45 coolboarderguy wrote:Hi All,ok, took the plunge, and allowed this new install to touch the net, and when running yum for the 1st time, I get the following,[root@localhost cdrecorder]# yum updateYou have enabled checking of packages via GPG keys. This is a good thing.However, you do not have any GPG public keys installed. You need to downloadthe keys for packages you wish to install and install them.You can do that by running the command: rpm --import public.gpg.keyThis is normal. You haven't imported the CentOS GPG key. Check out the CentOS faq for instructions:http://www.centos.org/modules/smartfaq/faq.php?faqid=30[root@localhost cdrecorder]# rpm --import http://dag.wiee