0

I want to update Ubuntu from 16 to 18. However, I have a few packages held back that I need not to be upgraded.

I tried running the following commands, but I get the error that the above packages that I need to not be upgraded are kept back:

# apt-get update
# apt-get upgrade -y
# apt-get dist-upgrade    
The following packages have been kept back:
  mailerq mailerq-5.13 mailerq-5.8
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

do-release-upgrade

Checking for a new Ubuntu release

Please install all available updates for your release before upgrading

1 Answers1

0

I would advise a fresh install. Back everything up, and start from scratch. Even if you’re following an upgrade path, things can go wrong so you would still need good backups.

As you’re still using a 5 year old distribution (ie I assume you don’t like installing an os any more frequently than necessary), I’d suggest installing 20.04 LTS which will have full support and updates until April 2025 (4 years remaining). Even 18.04.6 LTS will only have full support for less than 2 remaining years, so you’ll have a further upgrade to do before very long. It makes sense to go for the more recent release now and benefit from the longer support.

Will
  • 2,292