Score:5

How to make Ubuntu stop offering to upgrade from 20.04.5 to 22.04.1?

jp flag

I have installed (fresh) Ubuntu 20.04.5 on a laptop. It keeps offering to upgrade to 22.04.1 (downgrade?!) from the initial install through all subsequent updates. Obviously it should not be doing this.

Version Contradiction

What's going on and how to I fix it?

lemonslice avatar
us flag
Why shouldn't it? It seems to be un LTS upgrade from 20.04 to 22.04...
user58292 avatar
jp flag
Well, this is dumb. I'm not sure how I was continually reading that as 22.04.5. I'm lame! Thanks.
kr flag
Your misreading aside, there's literally a _Don't Upgrade_ button on your screenshot
Mahler avatar
in flag
You can switch it off in the Software & Updates program.
Score:9
us flag

Ubuntu is not offering you a downgrade.

20.04 was released in April 2020. 20.04.5 is the same version of Ubuntu with updated kernel and drivers.

Ubuntu 22.04 was released in April 2022. It is not a downgrade, and this behavior it's expected.

To disable the upgrade prompt, you can open the update manager and disable checking for new releases.

However, since it is not a downgrade as you had thought, you can consider upgrading.

Score:6
hu flag

Seems to work as intended, no fix requirered.

To disable the release upgrade prompt, edit /etc/update-manager/release-upgrades file from 'Prompt=lts' to 'Prompt=never'.

mirabilos avatar
th flag
Insufficient, you also need `sudo chmod -x /usr/lib/ubuntu-release-upgrader/release-upgrade-motd` and to `echo ENABLED=0 | sudo dd of=/etc/default/motd-news` to disable all this phoning home…
hu flag
@mirabilos You should read the question again. It is about offering to upgrade to 22.04.1, and nothing else.
Score:4
jp flag

The solution (for me) is to more carefully read version numbers. I was misreading 20.04.5 as 22.04.5 and thus all the confusion. Thanks to everyone for very patiently explaining things I already know well. You are all too kind.

dsghi avatar
br flag
You're not alone, I googled for it, loaded this page, and realized I had read it wrong as well.
Score:0
ng flag
sudo sed -i 's/lts$/never/g' /etc/update-manager/release-upgrades
  • The file to edit is /etc/update-manager/release-upgrades
  • sed -i 's/lts$/never/g' is the command that replaces "lts" with "never" in the aforementioned file, which will give you the result you're wanting
  • sudo is necessary because your user doesn't own the file you need to change
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.