Recommended way to update Ubuntu with MiaB

Setup guide says:

apt-get update && apt-get upgrade

What are the pros and cons of using:

apt-get update && apt-get upgrade && apt-get dist-upgrade

…asking the people that know.

Thanks

Dennis

1 Like

dist-upgrade will put you to the next LTS release when it comes out.

Example:
it will update you from 18.04 -> 18.04.1 -> 19.04

This is bad because MIAB ONLY supports 18.04 in the latest version. It absolutely will NOT RUN on 19.04. (though it will run on 18.04.1)

There are no pros to doing a dist-upgrade in this way at all. In fact a dist-upgrade has high potential to break even non-miab servers if you are not EXTREMELY CAREFUL.

So in the end, I would only ever do:

sudo apt update && sudo apt upgrade

Thank you for the detailed explanation.

1 Like

Yep. My sysadmin broke two servers doing the in place upgrades. It is definitely NOT worth it.

1 Like