Whether your environment is Microsoft Azure, Digital Ocean or Amazon AWS, there is a universal command baked into every distribution of Ubuntu Server which will upgrade to the next release. It is reliant on the Canonical Ubuntu repo’s and not whatever provider environment you’re on.
I had an issue while trying to upgrade from Ubuntu Server 14.04 LTS to 16.04 LTS running in AWS and found out that Ubuntu Server LTS won’t upgrade to to the next major release unless that build version is ≥ .1. So for example it won’t consider 16.04 until 16.04.1 is released. But luckily there is a way to force the upgrade which is what I did for the front end Nginx proxy for this website.
It is also possible to use do-release-upgrade to upgrade to a development version of Ubuntu. To accomplish this use the -d switch:
do-release-upgrade -d
For further stability of a LTS release there is a slight change in behaviour if you are currently running a LTS version. LTS systems are only automatically considered for an upgrade to the next LTS via do-release-upgrade
with the first point release. So for example 14.04 will only upgrade once 16.04.1 is released. If you want to update before, e.g. on a subset of machines to evaluate the LTS upgrade for your setup the same argument as an upgrade to a dev release has to be used via the -d
switch.
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04 LTS Release: 16.04 Codename: xenial
In addition to using a VPN service, as an extra precaution I've been using the blocklist feature of my bittorrent… Read More
command '('gpart', 'create', '-s', 'gpt', '/dev/da8')' returned non-zero exit status 1. If you get this error while trying to create… Read More
I'm dual booting Windows and Linux Mint on my laptop. The grub default is to boot into Linux Mint, however… Read More
When you're a little too careless about virtualizing your domain controllers, cloning, migrating, backing up and restoring, returning from vacation… Read More
I tried to retain the NGINX FastCGI cache and have it persist across system reboots instead of being ephemeral by… Read More
Systemd is new service manager for Linux. It's a replacement for all previous init systems (SysV/SysVinit & Ubuntu's Upstart) and… Read More