Question

Upgrading Ubuntu from 16.04 to 18.04

Posted January 7, 2020 544 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 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?

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.

×
2 answers

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

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.

Regards,

Adam

Submit an Answer