LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-07-2009, 01:21 PM   #1
mbs
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Unable to get exclusive lock


I am no longer able to install anything from limewire to Miro. In the add/remove applications, I get

"Unable to get an exclusive lock
This usually means that another package management application (like apt-get or aptitude) is already running. Please close that application first."

I have tried restarting, killing other applications like update manager, but every command leads to:

E: could not get lock /var/lib/dpkg/lock - open (11 resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
 
Old 06-07-2009, 01:31 PM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 70
Code:
ps aux |grep dpkg
ps aux |grep apt
ps aux |grep synaptic
What exactly did you try to fix this?
 
Old 06-07-2009, 01:32 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
lsof | grep /var/lib/dpkg
 
Old 06-07-2009, 02:57 PM   #4
mbs
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
well it looks like whatever you two gave me worked, I was able to install a program.

However my theme seems to have been messed up from it. I now see windows with a "windows 95" looking gray theme. However I have a custom window boarder from emerald working. Strange.

But thanks for the help
 
Old 06-07-2009, 03:03 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Heh.

Neither james' nor my commands have anything to do with
fixing your issue(s). They're merely means of diagnostics;
james' trying to locate potential active culprits, mine simply
looking at which process has handle(s) on the locked file.


Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot get exclusive lock Enochs Fedora 6 09-16-2007 10:22 AM
warning: cannot get exclusive lock on /var/lib/rpm/Packages Raafi Fedora 3 03-06-2005 03:45 AM
Cannot get exclusive lock apokryphos Linux - Newbie 3 12-02-2004 07:22 AM
exclusive lock on cd burning rosscopeeko Red Hat 2 09-01-2003 01:22 PM
exclusive lock on cd burning rosscopeeko Linux - Software 0 08-30-2003 07:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration