Firefox update fails; “Could not get lock” error when I run sudo apt upgrade [duplicate]
up vote
0
down vote
favorite
This question already has an answer here:
Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
21 answers
I am new to Ubuntu. I have installed Ubuntu MATE in my p.c. Now when I opened browser Mozilla Firefox it searched for a update. So I have been updating it but it fails every time.
sudo apt update
works well.
sudo apt upgrade
throws this error:
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?
How can I update all the applications in Ubuntu MATE as well as Mozilla Firefox?
apt firefox dpkg mate
marked as duplicate by mikewhatever, karel, user535733, Elder Geek, Kevin Bowen Dec 14 at 6:35
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 |
up vote
0
down vote
favorite
This question already has an answer here:
Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
21 answers
I am new to Ubuntu. I have installed Ubuntu MATE in my p.c. Now when I opened browser Mozilla Firefox it searched for a update. So I have been updating it but it fails every time.
sudo apt update
works well.
sudo apt upgrade
throws this error:
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?
How can I update all the applications in Ubuntu MATE as well as Mozilla Firefox?
apt firefox dpkg mate
marked as duplicate by mikewhatever, karel, user535733, Elder Geek, Kevin Bowen Dec 14 at 6:35
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.
I am using ubuntu mate.I don't think ubuntu mate and ubuntu work in same way. Ubutu mate is a lighter version compare to Ubuntu. So definitely there are some software issues.
– Encipher
Dec 13 at 17:57
sudo lsof /var/lib/dpkg/lock ** After given that command I got **lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME unattende 4937 root 4uW REG 8,1 0 2098137 /var/lib/dpkg/lock What does it mean?
– Encipher
Dec 13 at 18:02
Because Mate is lighter version.
– Encipher
Dec 13 at 18:08
2
There is no difference between Ubuntu MATE and Ubuntu that is relevant to anything in your question. It seems the underlying issue here is with Firefox. APT will update firefox along with all other packages Reboot and runsudo apt update && sudo apt full-upgrade && sudo apt autoremove
and then please let us know if you still have any problems with Firefox.
– Zanna
Dec 13 at 18:25
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This question already has an answer here:
Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
21 answers
I am new to Ubuntu. I have installed Ubuntu MATE in my p.c. Now when I opened browser Mozilla Firefox it searched for a update. So I have been updating it but it fails every time.
sudo apt update
works well.
sudo apt upgrade
throws this error:
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?
How can I update all the applications in Ubuntu MATE as well as Mozilla Firefox?
apt firefox dpkg mate
This question already has an answer here:
Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
21 answers
I am new to Ubuntu. I have installed Ubuntu MATE in my p.c. Now when I opened browser Mozilla Firefox it searched for a update. So I have been updating it but it fails every time.
sudo apt update
works well.
sudo apt upgrade
throws this error:
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?
How can I update all the applications in Ubuntu MATE as well as Mozilla Firefox?
This question already has an answer here:
Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
21 answers
apt firefox dpkg mate
apt firefox dpkg mate
edited Dec 13 at 18:22
Zanna
49.8k13130237
49.8k13130237
asked Dec 13 at 17:46
Encipher
12
12
marked as duplicate by mikewhatever, karel, user535733, Elder Geek, Kevin Bowen Dec 14 at 6:35
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 mikewhatever, karel, user535733, Elder Geek, Kevin Bowen Dec 14 at 6:35
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.
I am using ubuntu mate.I don't think ubuntu mate and ubuntu work in same way. Ubutu mate is a lighter version compare to Ubuntu. So definitely there are some software issues.
– Encipher
Dec 13 at 17:57
sudo lsof /var/lib/dpkg/lock ** After given that command I got **lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME unattende 4937 root 4uW REG 8,1 0 2098137 /var/lib/dpkg/lock What does it mean?
– Encipher
Dec 13 at 18:02
Because Mate is lighter version.
– Encipher
Dec 13 at 18:08
2
There is no difference between Ubuntu MATE and Ubuntu that is relevant to anything in your question. It seems the underlying issue here is with Firefox. APT will update firefox along with all other packages Reboot and runsudo apt update && sudo apt full-upgrade && sudo apt autoremove
and then please let us know if you still have any problems with Firefox.
– Zanna
Dec 13 at 18:25
add a comment |
I am using ubuntu mate.I don't think ubuntu mate and ubuntu work in same way. Ubutu mate is a lighter version compare to Ubuntu. So definitely there are some software issues.
– Encipher
Dec 13 at 17:57
sudo lsof /var/lib/dpkg/lock ** After given that command I got **lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME unattende 4937 root 4uW REG 8,1 0 2098137 /var/lib/dpkg/lock What does it mean?
– Encipher
Dec 13 at 18:02
Because Mate is lighter version.
– Encipher
Dec 13 at 18:08
2
There is no difference between Ubuntu MATE and Ubuntu that is relevant to anything in your question. It seems the underlying issue here is with Firefox. APT will update firefox along with all other packages Reboot and runsudo apt update && sudo apt full-upgrade && sudo apt autoremove
and then please let us know if you still have any problems with Firefox.
– Zanna
Dec 13 at 18:25
I am using ubuntu mate.I don't think ubuntu mate and ubuntu work in same way. Ubutu mate is a lighter version compare to Ubuntu. So definitely there are some software issues.
– Encipher
Dec 13 at 17:57
I am using ubuntu mate.I don't think ubuntu mate and ubuntu work in same way. Ubutu mate is a lighter version compare to Ubuntu. So definitely there are some software issues.
– Encipher
Dec 13 at 17:57
sudo lsof /var/lib/dpkg/lock ** After given that command I got **lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME unattende 4937 root 4uW REG 8,1 0 2098137 /var/lib/dpkg/lock What does it mean?
– Encipher
Dec 13 at 18:02
sudo lsof /var/lib/dpkg/lock ** After given that command I got **lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME unattende 4937 root 4uW REG 8,1 0 2098137 /var/lib/dpkg/lock What does it mean?
– Encipher
Dec 13 at 18:02
Because Mate is lighter version.
– Encipher
Dec 13 at 18:08
Because Mate is lighter version.
– Encipher
Dec 13 at 18:08
2
2
There is no difference between Ubuntu MATE and Ubuntu that is relevant to anything in your question. It seems the underlying issue here is with Firefox. APT will update firefox along with all other packages Reboot and run
sudo apt update && sudo apt full-upgrade && sudo apt autoremove
and then please let us know if you still have any problems with Firefox.– Zanna
Dec 13 at 18:25
There is no difference between Ubuntu MATE and Ubuntu that is relevant to anything in your question. It seems the underlying issue here is with Firefox. APT will update firefox along with all other packages Reboot and run
sudo apt update && sudo apt full-upgrade && sudo apt autoremove
and then please let us know if you still have any problems with Firefox.– Zanna
Dec 13 at 18:25
add a comment |
1 Answer
1
active
oldest
votes
up vote
-1
down vote
Use this with care, i.e. make sure not other installation/upgrade is running in parallel.
You can try sudo rm /var/lib/dpkg/lock.
It should remove the lock and allow for upgrade.
Edit:
To check whether any other installation is running, try
ps -ef | grep apt
ps -ef | grep dpkg
and see if any processes are listed, if same are present, check if any other open terminal is running any installation.
Hope it helps.
New contributor
updated, thanks for guidance.
– IamSushil
14 hours ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
-1
down vote
Use this with care, i.e. make sure not other installation/upgrade is running in parallel.
You can try sudo rm /var/lib/dpkg/lock.
It should remove the lock and allow for upgrade.
Edit:
To check whether any other installation is running, try
ps -ef | grep apt
ps -ef | grep dpkg
and see if any processes are listed, if same are present, check if any other open terminal is running any installation.
Hope it helps.
New contributor
updated, thanks for guidance.
– IamSushil
14 hours ago
add a comment |
up vote
-1
down vote
Use this with care, i.e. make sure not other installation/upgrade is running in parallel.
You can try sudo rm /var/lib/dpkg/lock.
It should remove the lock and allow for upgrade.
Edit:
To check whether any other installation is running, try
ps -ef | grep apt
ps -ef | grep dpkg
and see if any processes are listed, if same are present, check if any other open terminal is running any installation.
Hope it helps.
New contributor
updated, thanks for guidance.
– IamSushil
14 hours ago
add a comment |
up vote
-1
down vote
up vote
-1
down vote
Use this with care, i.e. make sure not other installation/upgrade is running in parallel.
You can try sudo rm /var/lib/dpkg/lock.
It should remove the lock and allow for upgrade.
Edit:
To check whether any other installation is running, try
ps -ef | grep apt
ps -ef | grep dpkg
and see if any processes are listed, if same are present, check if any other open terminal is running any installation.
Hope it helps.
New contributor
Use this with care, i.e. make sure not other installation/upgrade is running in parallel.
You can try sudo rm /var/lib/dpkg/lock.
It should remove the lock and allow for upgrade.
Edit:
To check whether any other installation is running, try
ps -ef | grep apt
ps -ef | grep dpkg
and see if any processes are listed, if same are present, check if any other open terminal is running any installation.
Hope it helps.
New contributor
edited 14 hours ago
New contributor
answered Dec 13 at 19:09
IamSushil
12
12
New contributor
New contributor
updated, thanks for guidance.
– IamSushil
14 hours ago
add a comment |
updated, thanks for guidance.
– IamSushil
14 hours ago
updated, thanks for guidance.
– IamSushil
14 hours ago
updated, thanks for guidance.
– IamSushil
14 hours ago
add a comment |
I am using ubuntu mate.I don't think ubuntu mate and ubuntu work in same way. Ubutu mate is a lighter version compare to Ubuntu. So definitely there are some software issues.
– Encipher
Dec 13 at 17:57
sudo lsof /var/lib/dpkg/lock ** After given that command I got **lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME unattende 4937 root 4uW REG 8,1 0 2098137 /var/lib/dpkg/lock What does it mean?
– Encipher
Dec 13 at 18:02
Because Mate is lighter version.
– Encipher
Dec 13 at 18:08
2
There is no difference between Ubuntu MATE and Ubuntu that is relevant to anything in your question. It seems the underlying issue here is with Firefox. APT will update firefox along with all other packages Reboot and run
sudo apt update && sudo apt full-upgrade && sudo apt autoremove
and then please let us know if you still have any problems with Firefox.– Zanna
Dec 13 at 18:25