Home > Error Cannot > Error Cannot Get Exclusive Lock On /var/lib/rpm/packages
Error Cannot Get Exclusive Lock On /var/lib/rpm/packages
Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We DNS issues [AT&TU-verse] by ss911der© DSLReports · Est.1999feedback · terms · Mobile mode
Toggle navigation Wallpaperama Forums wallpaperama.comWallpapers FIX Warning: Cannot Get Exclusive Lock On /var/lib/rpm/PackagesFollow Us: twitter ForumsLinux HostingFIX Want to know which application is best for the job? Remove advertisements Sponsored Links DukeNuke2 View Public Profile Visit DukeNuke2's homepage! his comment is here
Please install the key as root before running any of these tools. If su - is broken for whatever reason you can also become root like so: $ sudo -i share|improve this answer edited Apr 21 '14 at 1:10 Ramesh 15.9k1674124 answered Apr Top coolboarderguy Posts: 53 Joined: 2005/06/03 16:50:59 Location: Tokyo Re: GPG Keys Quote Postby coolboarderguy » 2005/08/22 06:11:31 Hi All,ok, got it..thanx.. Are you new to LinuxQuestions.org? http://www.linuxquestions.org/questions/linux-software-2/error-cannot-get-exclusive-lock-on-var-lib-rpm-packages-error-cannot-open-packages-85220/
I'm not familiar with CentOS, so I'm not sure what "system-config-n..." might be, but let's see the ps output. · actions · 2005-Aug-20 4:16 am · downdogWoofA Little Aussie Lost In doesn't look that there is any other process running on the machine which is using the lock. Join the community of 500,000 technology professionals and ask your questions. Post your question in this forum.
Reply With Quote 30-Oct-2010,12:50 #4 caf4926 View Profile View Forum Posts View Blog Entries Visit Homepage View Articles Global Moderator Join Date Jun 2008 Location The English Lake District. Support LQ: Use code LQ3 and save $3 on Domain Registration Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search The time now is 12:21 PM. - Contact Us - Unix & Linux - unix commands, linux commands, linux server, linux ubuntu, shell script, linux distros. - Advertising - Top inward_eye View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by inward_eye Thread Tools Show Printable Version Email this Page Search this Thread Advanced
but when i type rpm -e gaim this error message comes up. [[email protected] matthew]$ rpm -e gaim error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages index using db3 Fantasy anime. Simulate keystrokes Is the NHS wrong about passwords? https://www.redhat.com/archives/rpm-list/2008-May/msg00025.html system-config-nsorry, not sure what to make of it.
Are backpack nets an effective deterrent when going to rougher parts of the world? system-config-nsorry, not sure what to make of it. See /usr/share/doc/procps-3.2.3/FAQroot 526 0.0 0.2 5324 680 pts/9 S+ 14:14 0:00 grep -i rpmand[[email protected] ~]# /sbin/fuser -v /var/lib/rpm/PackagesUSER PID ACCESS COMMAND/var/lib/rpm/Packagesroot 3232 f.... and if you can't give the feedback, please don't vote –GeekRide Jan 13 '13 at 14:44 I have updated the question and posted the result. –gautam vegeta Jan 13
See /usr/share/doc/procps-3.2.3/FAQroot 526 0.0 0.2 5324 680 pts/9 S+ 14:14 0:00 grep -i rpm and[[email protected] ~]# /sbin/fuser -v /var/lib/rpm/Packages USER PID ACCESS COMMAND/var/lib/rpm/Packages root 3232 f.... Join our community for more solutions or to ask questions. If that is the case then either su to root or preface each run of rpm with sudo. When the server rebooted, he logged in with SSH and was able to edit his httpd.conf file.so basically, if you are getting this error, its because the file is being used
Try killing the process or rebooting. Were you running up2date or similar when you were trying to import the key?Try using fuser to see what process is holding the lock:fuser -v /var/lib/rpm/PackagesOr perhaps lsof:lsof -n | grep Mounting Pictures on Wall - Child Safe [HomeImprovement] by nightdesigns278. If you are stuck with this issue, do a reboot and that should clear your problem.ramankThu Jan 10, 2008 above method of rebooting the machine seems to be difficult when we
Can anyone offer any help? Cheers. · actions · 2005-Aug-20 4:08 am · pflogBueller? l_9_l Linux - General 1 03-06-2002 06:03 PM All times are GMT -5. weblink 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--
Syntax Design - Why use parentheses when no arguments are passed? If it's there, which most probably is stale, as you killed the terminal earlier, simply remove the lock file. Overall download size: 8.6 MiB.
You can then decide at that point whether you want to kill that process, or find out where it's running and finish what it's doing interractively (if it's running on an
if you do kill zypper you can expect a murdered RPM database at the very least, and very possibly the entire system...depending on just where it is in the process (it Inserting a DBNull value in database Can Klingons swim? Main protagonist is the son of a blacksmith. If that is the case then either su to root or preface each run of rpm with sudo.
Registration is quick, simple and absolutely free. leonscape View Public Profile View LQ Blog View Review Entries View HCL Entries Visit leonscape's homepage! If it happens again, use fuser again, find the process ID, and use ps to see what it is. check over here How do I install your GPG key/signature ?Apt, Yum or up2date may require that a GPG key is installed.
Resolving package dependencies... The following NEW packages are going to be installed: dbus-1-devel libdrm-devel libjpeg-devel liblcms-devel libmng-devel libqt4-devel libtiff-devel Mesa-devel sqlite3 sqlite3-devel 10 new packages to install. If it doesn't, try your command again, and it should work. 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
I copy & paste from https://www.redhat.com/security/team/key.html those cryptic characters starting from the lines (inclusive) -----BEGIN PGPPUBLIC KEY BLOCK----- . . . . . -----END PGP PUBLIC KEY BLOCK----- Note that when you become root you're typically changed directories into /root. You can also check for the lock file also in the location /var/lib/rpm.