1

I have a Ubuntu 22.04 template, which is used to create two Virtual Machines.

After creating the VMs I ran apt update && apt upgrade -y on both, now I've got one VM with version "22.04.1 LTS (Jammy Jellyfish)" and one "22.04 (Jammy Jellyfish)". Even with do-release-upgrade I can not upgrade it so the versions are equal.

This is bad since one VM is for production and the other for development, and i want to keep the OS as close as possible.

Did the "phased release" approach of Ubuntu lead to this behaviour? And how to get both VMs to version "22.04.1 LTS (Jammy Jellyfish)". (I could update the template, i know)

dahe
  • 182

1 Answers1

1

I believe running sudo apt upgrade might not be enough to ensure a full upgrade to next point release. You should instead run a full-upgrade:

sudo apt full-upgrade

This will update the kernel packages etc., and also upgrade to the next point release. This was called dist-upgrade with apt-get, but full-upgrade provides the same functionality with apt.

Also, see this related answer.

Artur Meinild
  • 31,035