Linked Questions
278 questions linked to/from Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
275
votes
5
answers
743k
views
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
I'm trying to run this command in the terminal:
sudo apt install software-properties-common
This is the error message I get:
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource ...
140
votes
7
answers
1.2m
views
Permission denied, are you root?
I get this error whenever I try to install programs using the terminal:
home@ubuntu:~$ apt-get install myunity
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable ...
109
votes
10
answers
458k
views
dpkg: error: dpkg status database is locked by another process
I just wondered if somebody could tell me what this means:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
reidsr@ubuntu:~$ sudo dpkg --configure -a
...
101
votes
5
answers
247k
views
Why does "ps aux | grep x" give better results than "pgrep x"?
I've just tried the following command on my Ubuntu, it doesn't show a thing:
pgrep php5
shouldn't it return the process ID of php5 (which the following command just does)?:
ps aux | grep php5
So, ...
42
votes
7
answers
191k
views
How to uninstall VirtualBox in 12.04?
Can anyone help me remove VirtualBox?
I am running 12.04.
35
votes
1
answer
370k
views
How can I solve Unable to lock the administration directory (/var/lib/dpkg/) [duplicate]
I am really New to UBUNTU 14.04 and whenever I try to update or install anything I get this error:
sudo apt-get update [sudo] password for trojanfm:
E: Could not ge lock /var/lib/apt/lists/lock - ...
34
votes
3
answers
140k
views
How do I unlock /var/lib/dpkg/lock? [duplicate]
I attempted to install dropbox on my Ubuntu system, but now I am unable to install or uninstall any software. I get this error:
E: Unable to lock the administration directory /var/lib/dpkg/lock?
I ...
31
votes
1
answer
122k
views
Could not get lock /var/cache/apt/archives/lock - open
I been getting this problem in terminal now for a day. I have tried fixing read many guides and nothing. I am new to ubuntu any help will be appreciated. "14.04 lts"
E: Could not get lock /var/cache/...
31
votes
1
answer
327k
views
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) [duplicate]
I am trying to install cheese
ubuntu@ubuntu:/usr/src/linux-headers-3.5.0-23-generic$ sudo apt-get install cheese
[sudo] password for ubuntu:
E: Could not get lock /var/lib/dpkg/lock - open (11: ...
27
votes
4
answers
56k
views
How can I solve "Be aware that removing the lock file is not a solution and may break your system"?
I did:
sudo apt-get update
I got this:
Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1131 (packagekitd)
N: Be aware that removing the lock file ...
21
votes
1
answer
29k
views
What process created the /var/lib/dpkg/lock-frontend file in Ubuntu?
I have just booted my clean Ubuntu 18.04 LTS VM and tried to install some application with sudo apt install.
But got error message:
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: ...
19
votes
3
answers
49k
views
How do I continue configuration if apt-get was interrupted?
In case there were some problems during the last apt-get operation, is there a command that checks if something has to be continued in apt-get?
18
votes
2
answers
74k
views
Which is the process using apt-get lock? [duplicate]
I don't have any package installations running, yet I get the following error when I try to install a DEB package. I thought about rebooting the system but that could corrupt the database. And it has ...
15
votes
4
answers
47k
views
Unable to use package manager due to "exclusive lock" error [duplicate]
My synaptic package manager in ubuntu is giving error:
Unable to get exclusive lock
This usually means that another package management application(like apt-get or
aptitude) is already running....
15
votes
3
answers
5k
views
How to disable popup "Close this terminal?" when closing terminal?
Each time when I want to close terminal there is a popup with question "Close this terminal?" because some process is running in terminal. I don't care about this process. How to prevent terminal from ...