- Run
apt-get update - Run
apt-get dist-upgrade - Reboot if needed (new kernel, etc...)
- Run
apt-get updateagain - Run
apt-get autoremove - Ensure that
update-manageris set to receiveltsupgrades- Edit
/etc/update-manager/release-upgrades - Ensure that
Prompt=ltsis set
- Edit
- Install and start
tmux - Run
do-release-upgrade
- Enter
yfor all of the the continue prompts, and theNo valid mirrorprompt - Say
Yesto the restart services prompt - Keep your currently-installed version for
/etc/default/rc5by enteringN - Keep your currently-installed version of
/etc/default/grub - Keep your currently-installed version of
/etc/apt.conf.d/50-unattended-upgrades - Continue
yon the package removal step - Allow the upgrade to reboot the box
- Start a ping to your OnMetal server
- From
mycloud.rackspace.comor fromnovaissue a hard reboot - In a few minutes you should see echo replies
- This will probably take
500-600echo requests - If it takes more than
750you can issue another hard reboot
- This will probably take
- SSH back into your box
- Remove the file
/etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist - Update packages with
apt update - Look for held packages with
dpkg --get-selections | grep hold - Unhold any packages that were held back
for package in $(dpkg --get-selections | grep hold | awk '{ print $1 }'); do apt-mark unhold $package; done
- Update packages again
apt update - Run
apt dist-upgrade - Choose the package maintainers version for
/etc/cloud/cloud.cfg.d - Run
apt autoremove - Run
apt clean
Congratulations, you now have a functional Xenial (16.04) LTS OnMetal server