Ubuntu Upgrade – How to Upgrade Ubuntu Version Without Upgrading Packages

linuxUbuntuupgrade

I need to upgrade the Ubuntu Version on my servers, but I do not want to upgrade the installed packages. Is this possible?

Best Answer

Your question indicates a misunderstanding of what the release version of Ubuntu actually means.

‘21.04’ is not some random number, it’s a guarantee that:

  • Packages available at the time of release of that version of Ubuntu are still available to users of that version of Ubuntu.
  • Any newly released versions of those packages in that version of Ubuntu will retain binary compatibility with the versions of packages provided in the original release of that version of Ubuntu.

In other words, the set of packages you have available and installed defines what version of Ubuntu you are using. That’s the whole point of the version number, it concisely defines the state of the platform so that users and developers can quickly verify compatibility.

This is no different with Windows, or macOS, or FreeBSD, or pretty much any Linux distribution that doesn’t use a rolling release model. It’s also no different from versions for any other type of software.