Home > Error Cannot > Error Cannot Get Exclusive Lock On /var/lib/rpm/packages

Error Cannot Get Exclusive Lock On /var/lib/rpm/packages


The time now is 11:21 AM. If you need to reset your password, click here. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the 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 weblink

You haven't imported the CentOS GPG key. Appreciate any suggestions. Related ContentHow To Install RPM Packages - Redhat Fedora Linux Shell CommandHow To Uninstall RPM Packages - Remove Redhat Fedora Linux Shell CommandHow To Find What Version RPM Is Installed On I've posted it on the CentOS forums, so perhaps someone can enlighten us on "system-config-n..." Cheers. · actions · 2005-Aug-20 4:22 am · pflogBueller? 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 Get Exclusive Lock On /var/lib/rpm/packages

Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest Please install the key as root before running any of these tools. I meant to type that you need to import the official CentOS GPG key. Having a problem installing a new program?

If that also doesn't work, try rebuilding the RPM DB with this: # rpm --rebuilddb share|improve this answer edited Jan 13 '13 at 15:09 answered Jan 13 '13 at 14:28 GeekRide asked 3 years ago viewed 1278 times active 27 days ago Related 2RPM database corrupt1i cannot send mail on unix aix?1how i can get the date in UNIX-aix and store ecah Draw an ASCII chess board! 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

Unix command that immediately returns a particular return code? When he tried to use the same file (httpd.conf) from work, he couldn't because his session at home was also using the file httpd.conf.He needed to have his computer the home You are currently viewing LQ as a guest. find more info Was Isaac Newton the first person to articulate the scientific method in Europe?

Top K_Frye Posts: 425 Joined: 2005/07/13 01:48:35 Location: Canada Re: GPG Keys Quote Postby K_Frye » 2005/08/22 06:03:09 coolboarderguy wrote:Hi All,followed this,B2. 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----- Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered command not found seems like you have bigger issues than mere yum. –Dani_l Nov 10 '15 at 15:41 add a comment| 3 Answers 3 active oldest votes up vote 9 down

What is the definition of function in ZF/ZFC? https://forums.opensuse.org/showthread.php/449095-what-has-happened-to-my-zypper Can you please edit the post and put it there or may be use something like pastebin and let me know –GeekRide Jan 13 '13 at 14:44 1 Also, to Error Cannot Get Exclusive Lock On /var/lib/rpm/packages 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 As root, do the following:rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txtOr alternatively, download this GPG key and install it as root by doing:rpm --import RPM-GPG-KEY.dag.txtYou can see a list of install keys by doing:rpm -q

Problems with "+" in grep Using CASE to select between two geometry functions? 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 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 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.

Check for any processes which might use rpm in your machine. leonscape View Public Profile View LQ Blog View Review Entries View HCL Entries Visit leonscape's homepage! After he did that, the server rebooted and all the connections (users loggedin) were dropped. check over here This is a good thing.However, you do not have any GPG public keys installed.

Are these the only ways to work as root? –Brian Leach Apr 21 '14 at 16:55 What distro is this? –slm♦ Apr 21 '14 at 16:56 what Are backpack nets an effective deterrent when going to rougher parts of the world? Posting in the Forums implies acceptance of the Terms and Conditions.

he posted an update and found that he needs to be root .

Top K_Frye Posts: 425 Joined: 2005/07/13 01:48:35 Location: Canada Re: GPG Keys Quote Postby K_Frye » 2005/08/22 05:52:00 coolboarderguy wrote:Hi All,ok, I get this when doing a yum update yum,Dependencies ResolvedTransaction If this is your first visit, be sure to check out the FAQ. Solution? You can also check for the lock file also in the location /var/lib/rpm.

Password Linux - Software This forum is for Software issues. Join our community for more solutions or to ask questions. it worked. http://megavoid.net/error-cannot/error-cannot-create-sourcedir-usr-src-packages-sources.html Overall download size: 8.6 MiB.