By derekzhangv
As I was trying to upgrade my Ubuntu from 16.04 to 18, by the command:
do-release-upgrade
It kept giving me this message: Please install all available updates for your release before upgrading.
I have done all the updates command mentioned in the Community.
sudo apt-get update sudo apt-get upgrade -y sudo apt-get dist-upgrade
and rebooted also.
Thanks.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @derekzhangv,
When running the following:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade
Do you see any failed packages on the update?
Additionally, I’ve had a case where a third-party repository with a broken-dependency, which showed up via sudo apt list --upgradable - the package in question did require another package, which was unavailable due to an error of the packager.
I solved it by disabling all third party repositories (as root):
cd /etc/apt/sources.list.d/
for i in *.list; do
mv $i ${i}.disabled
done
Then cleaned the update state:
apt clean
apt autoclean
and restarted the update process:
do-release-upgrade
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.