← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #76713]: Problems using terminal

 

Question #76713 on update-manager in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/update-manager/+question/76713

marcobra (Marco Braida) proposed the following answer:
Better... more detailed...

The message:

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?

is caused because another program that uses the package system is
running. Make sure you're not already running Synaptic or apt-get in the
background.

Also, the system periodically checks for updates. While doing this, it
triggers the lock that you're experiencing. Within ten minutes, it
should have finished.

If you still receive the message, you can try an assortment of these
commands to try and get rid of the locks:

Open a Terminal from the menu Applications → Accessories → Terminal and
type:

sudo killall synaptic
sudo killall apt-get
sudo killall dpkg

the system will ask you for a password give your user password when
requested, you don't see nothing when you type it, then press enter.

or you can also simply reboot your pc...

Thank you

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.