Ubuntu upgrade failing from 16.04 to 16.10: 'Failed to lock /var/cache/apt/archives/lock' [duplicate]
Solution 1:
I had the same issue where I got Failed to lock /var/cache/apt/archives/lock
every single time I tried the upgrade.
I did everything as described here, except to start update-manager
with sudo
.
So:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo
update-manager -d
... and finally, on the 27th try, it worked out.