Ubuntu Server 16.04 is now released.
I have Ubuntu (server) 14.04.4 LTS, but when I try to do a do-release-upgrade
it tells me that there are no upgrades available.
Why?
How can I upgrade my server so I get the new awesomeness?
lizzard@lounge:~$ uname -a
Linux lounge 4.2.0-34-generic #39~14.04.1-Ubuntu SMP Fri Mar 11 11:38:02 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
lizzard@lounge:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
lizzard@lounge:~$ do-release-upgrade
Checking for a new Ubuntu release
No new release found
The answer is in the Release Notes
Stability in an LTS release comes first.
NOTE: With Ubuntu 18.04 LTS it is the same with the first point release that is due out late July 2018. The steps below should be the same, but just warning that my experience with the upgrade from 16.04 to 18.04 this time did not go as smoothly. I recommend waiting for the first point release (18.04.1) in July before upgrading.
Like it says in the Release Notes that the
LTS upgrades will be enabled with the 16.04.1 LTS point release, in approximately 3 months time.
However, if you don't want to wait, the following command will tell your Ubuntu installation to install the latest
devel-release
:WARNING: Make sure that your system is up to date, all applications are running well, and that there are no partition errors. Recommend running fsck on your system from Recovery Mode before upgrading.
For console/text only
For GUI interfaces from a terminal window or by using Alt+F2
which will run the
update-manager
and show that a newer version16.04
is available for upgrade. Follow the instructions on the screen to upgrade toUbuntu 16.04LTS
.NOTES from the upgrade that I have observed:
The upgrade process will disable all of the 3rd party repositories that are in the
/etc/apt/sources.list.d/
folder. It also backs up your old/etc/apt/sources.list
to/etc/apt/sources.list.distUpgrade
. The files will not be deleted but the repository lines contained within the files will be commented out, except for in thesources.list.distUpgrade
file. I found that I was not able to remove the comment in front of the repository and have it just work with theapt-get update
command. Instead I had to re-add the repositories by either adding them manually to the/etc/apt/sources.list
file or by adding them with theadd-apt-repository
command again.PlayOnLinux
repository is not Xenial compatible yet. IfPlayOnLinux
is installed, it will update from the Xenial repositories.EDIT: Google and VirtualBox repos have been updated.
AddingGoogle Chrome
andVirtualBox
repositories back will show the following messages during anapt-get update
. These have been reported here and hopefully they get updated soon. The applications will still update without any problems.The
graphics-drivers
repository for Ubuntu that contains the NVIDIA drivers will have to be added back. Simply runningsudo add-apt-repository ppa:graphics-drivers/ppa
works with Xenial and updated drivers after install. I did need to copy my oldxorg.conf
file back for my monitors to work properly.fail2ban
had to be purged with my old custom config files. Reinstalled without issue and appears to be working fine.Other miscellaneous applications needed to be reinstalled.
sudo apt-get install --reinstall <application>
Overall, the upgrade went well and feels really stable.