How to istall java in ubuntu 18.10 [duplicate]
This question already has an answer here:
Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
21 answers
gokulraj@optimus-prime:~$ sudo apt install default-jdk
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
The error is occured.
apt java
marked as duplicate by karel, Ketan Patel, mikewhatever, Thomas, Byte Commander Feb 10 at 14:02
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
21 answers
gokulraj@optimus-prime:~$ sudo apt install default-jdk
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
The error is occured.
apt java
marked as duplicate by karel, Ketan Patel, mikewhatever, Thomas, Byte Commander Feb 10 at 14:02
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
21 answers
gokulraj@optimus-prime:~$ sudo apt install default-jdk
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
The error is occured.
apt java
This question already has an answer here:
Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
21 answers
gokulraj@optimus-prime:~$ sudo apt install default-jdk
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
The error is occured.
This question already has an answer here:
Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
21 answers
apt java
apt java
edited Feb 10 at 13:35
PerlDuck
6,83111535
6,83111535
asked Feb 10 at 11:51
Gokulraj NagarajanGokulraj Nagarajan
204
204
marked as duplicate by karel, Ketan Patel, mikewhatever, Thomas, Byte Commander Feb 10 at 14:02
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by karel, Ketan Patel, mikewhatever, Thomas, Byte Commander Feb 10 at 14:02
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
There are 2 possibilities, either you are running another apt command and you need to wait till it's complete which you would solve by waiting for it to complete or killing the process, or the lock file exists in /var/lib/dpkg/lock-frontend and no process is using it, so you would have to remove it, and force package reconfiguration with the following commands
sudo rm /var/lib/dpkg/lock-frontend
sudo dpkg --configure -a
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
There are 2 possibilities, either you are running another apt command and you need to wait till it's complete which you would solve by waiting for it to complete or killing the process, or the lock file exists in /var/lib/dpkg/lock-frontend and no process is using it, so you would have to remove it, and force package reconfiguration with the following commands
sudo rm /var/lib/dpkg/lock-frontend
sudo dpkg --configure -a
add a comment |
There are 2 possibilities, either you are running another apt command and you need to wait till it's complete which you would solve by waiting for it to complete or killing the process, or the lock file exists in /var/lib/dpkg/lock-frontend and no process is using it, so you would have to remove it, and force package reconfiguration with the following commands
sudo rm /var/lib/dpkg/lock-frontend
sudo dpkg --configure -a
add a comment |
There are 2 possibilities, either you are running another apt command and you need to wait till it's complete which you would solve by waiting for it to complete or killing the process, or the lock file exists in /var/lib/dpkg/lock-frontend and no process is using it, so you would have to remove it, and force package reconfiguration with the following commands
sudo rm /var/lib/dpkg/lock-frontend
sudo dpkg --configure -a
There are 2 possibilities, either you are running another apt command and you need to wait till it's complete which you would solve by waiting for it to complete or killing the process, or the lock file exists in /var/lib/dpkg/lock-frontend and no process is using it, so you would have to remove it, and force package reconfiguration with the following commands
sudo rm /var/lib/dpkg/lock-frontend
sudo dpkg --configure -a
edited Feb 10 at 13:19
answered Feb 10 at 13:11
YPCAYPCA
1012
1012
add a comment |
add a comment |