Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Trouble upgrading ubuntu droplet
I have a droplet that was on Ubuntu 16 and I logged in to do an upgrade. I think I got into a bad state. I tried to upgrade ubuntu once (do-release-upgrade) and I was following instructions here. It quit on me before getting very far (after the warning about ssh and downloading some packages). I tried re-running it again as well as running
I’m not sure how I got to my current state but at the moment when I log into my droplet now it says “Welcome to Ubuntu 18.04.1 LTS” and if I run
do-release-upgrade it quits after saying “Please install all available updates for your release before upgrading.”.
If I run
apt-get upgrade it doesn’t upgrade anything. It notes that 108 packages were “held back”.
If I run
apt-get dist-upgrade I see the following error:
Calculating upgrade... Error! Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: command-not-found : Depends: python3-commandnotfound (>= 0.3ubuntu7) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
I’m not really sure how to proceed at this point. Thanks in advance for any tips!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×