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?

Asked by Allen brodess

I get this error when trying to use the terminal to install a few programs from wine and various places...top line is the command i sent..bottem 2 lines are the terminals response..someone please help me here..I dont have any other terminals opens.only thing i have runnings is mozilla and this 1 terminal when i try sudu commands...

logicuser@ubuntu:~$ sudo apt-get install phpbb3

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?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Allen brodess (red92camaro) said :
#1

I am running ubuntu 10.4 i believe.. if any hardware or software information is needed please say something i realy need help here...i'm still kinda new to linux...I want to learn linux so i dont ever have to go back to windblows vista

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

If you have software centre running, let it finish it's business then close it. If you have an install or update running let it finish. You can only have ONE app accessing the packages at any one time.

If neither of those are happening you can run:

sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a

And it will free them up.

Can you help with this problem?

Provide an answer of your own, or ask Allen brodess for more information if necessary.

To post a message you must log in.