Question

Upgrading Ubuntu from 16.04 to 18.04

I am trying to upgrade Ubuntu but I am unable to update so I ran apt list --upgradable -a

To upgrade I ran sudo apt full-upgrade.

The following packages are not getting updated for some reason.

php-recode/xenial 2:7.4+71+ubuntu16.04.1+deb.sury.org+1 all [upgradable from: 2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3] php-recode/now 2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3 all [installed,upgradable to: 2:7.4+71+ubuntu16.04.1+deb.sury.org+1] php-recode/xenial-updates 1:7.0+35ubuntu6.1 all php-recode/xenial 1:7.0+35ubuntu6 all

Am I missing something?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Thanks Alex,

I think I will go with a fresh installation.

Regards,

Adam

Hello, @adl

Have you checked our tutorial in the community:

https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-18-04

I will recommend you to create a new Ubuntu 18 droplet and migrate your content/data when the new Ubuntu 18 droplet is fully configured and ready. Upgrading a full OS version sounds good in theory, but there are many snags you can hit along the way that were not expected. For a production system, I highly recommend my approach instead.

Regards, Alex