Could not get lock /var/lib/dpkg/lock
when i want to install cairo-dock, i get this error. This is because I am stop the download process while it download package :
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?E: Could not get lock /var/cache/apt/archives/lock – open (11 Resource temporarily unavailable)
E: Unable to lock the download directory
Sometime this error come up when we open synaptic package manager at the same time or synaptic already running. To fix this problem just Close any other package managers
if that doesn’t make effect , do this
rm /var/lib/dpkg/lock
rm /var/cache/apt/archives/lock
After that, you can continue your install any packages
Incoming search terms:
- ngacir
- e: could not get lock /var/cache/apt/archives/lock - open (11: resource temporarily unavailable) e: unable to lock the download directory
- mdadm could not get lock /var/cache/apt/archives
- e: could not get lock /var/lib/dpkg/lock - open (11 resource temporarily unavailable) in ubuntu 9 04
- E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)E: Unable to lock the download directory
- E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
- E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory
- e: could not get lock /var/cache/apt/archives/lock - open (11 resource temporarily unavailable)
- could not tget lock /var/lib/dpgk/lock
- Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)









5 Responses to “Could not get lock /var/lib/dpkg/lock”
pagesec1
(1 comments.) on Sep 3, 2009
Nice post, thanks for the info.
Reply
dedyisn
(80 comments.) on Sep 8, 2009
Mozilla Firefox 3.5.3 Windows XPYour welcome
Reply
r-breed
on May 8, 2010
Mozilla Firefox 2.0.0.14 Linuxi did this and said yes to remove it and it said:
rm cannot remove /var/lib/dpkg/lock: permission denied
do you know what i can do?
Reply
dedyisn
(80 comments.) on May 24, 2010
Mozilla Firefox 3.6.3 Windows XPit just permission problem, you must be root user to this action
ada sudo in front of your command
sample :
sudo rm /var/lib/dpkg/lock
sudo rm /var/cache/apt/archives/lock
If it need password, then input your login password
that’s all
Reply
izar
on Dec 7, 2010
terima kasih banyak, berhasil berhasil berhasil… hore!
:sip::sip:
Reply