- Run
apt-get update
- Run
apt-get dist-upgrade
- Reboot if needed (new kernel, etc...)
- Run
apt-get update
again - Run
apt-get autoremove
- Ensure that
update-manager
is set to receivelts
upgrades- Edit
/etc/update-manager/release-upgrades
- Ensure that
Prompt=lts
is set
- Edit
- Install and start
tmux
- Run
do-release-upgrade
- Enter
y
for all of the the continue prompts, and theNo valid mirror
prompt - Say
Yes
to the restart services prompt - Keep your currently-installed version for
/etc/default/rc5
by enteringN
- Keep your currently-installed version of
/etc/default/grub
- Keep your currently-installed version of
/etc/apt.conf.d/50-unattended-upgrades
- Continue
y
on the package removal step - Allow the upgrade to reboot the box
- Start a ping to your OnMetal server
- From
mycloud.rackspace.com
or fromnova
issue a hard reboot - In a few minutes you should see echo replies
- This will probably take
500-600
echo requests - If it takes more than
750
you 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