How to make Ubuntu stop offering to upgrade from 22.04.5 to 24.04.1 LTS?

To disable the release upgrade prompt.
Go to /etc/update-manager/release-upgrades.

First open terminal in ubuntu.

$ cd /etc/update-manager/
$ ls
sudo chmod 777 release-upgrades
sudo nano release-upgrades

**Edit /etc/update-manager/release-upgrades file from ‘Prompt=lts’ to ‘Prompt=never’.

Press Ctrl+O Save it and Ctrl+x to exit

and Restart System.

Total Page Visits: 1973 - Today Page Visits: 18