Upgrading Ubuntu from 16.04 to 18.04

Posted January 7, 2020 6k views
Ubuntu 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 all [upgradable from:]
php-recode/now all [installed,upgradable to:]
php-recode/xenial-updates 1:7.0+35ubuntu6.1 all
php-recode/xenial 1:7.0+35ubuntu6 all

Am I missing something?

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.

Submit an Answer
2 answers

Hello, @adl

Have you checked our tutorial in the community:

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.


by Brian Boucheron
<$>[warning] Warning: As with almost any upgrade between major releases of an operating system, this process carries an inherent risk of failure, data loss, or broken software configuration. Comprehensive backups and extensive testing are strongly advised. To avoid...

Thanks Alex,

I think I will go with a fresh installation.