Trying to upgrade to 16.04 from 15.10, but "the required dependency 'apt (>= 1.0.10.2ubuntu2)' is not installed"?
12,377
Solution 1
Problem is solved by manually downloading and updating the apt.
Try to use
If it shows error while updating then run this following deb file first then the previous one.
then run those commands:
sudo apt-get update
do-release-upgrade
Solution 2
Did you disable the security update repository (wily-security
) by any chance?
If so enable it again and run: apt-get update && apt-get -y install apt
.
After this you should have the newer apt version installed. Hence, you should now be able to run do-release-upgrade
without any issues.
Related videos on Youtube
Author by
Zacccch
Updated on September 18, 2022Comments
-
Zacccch almost 2 years
I tried
sudo apt-get update
, but gotE: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ 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?
Any advice? Let me know if you need any more info.
-
John Orion about 8 yearsyou have something already open like synaptic when you tried apt-get update
-
Hi-Angel about 8 yearsRight. And btw, how is your title relevant to the content of the question?
-
-
Admin about 8 yearsThis answers the title - not the whole question.