Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
32
rated 0 times [  32] [ 0]  / answers: 1 / hits: 10718  / 1 Year ago, wed, february 22, 2023, 3:18:41

When I ssh into my Mythbuntu box, I get this message:



Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-32-generic x86_64)

* Documentation: https://help.ubuntu.com/

New release '12.10' available.
Run 'do-release-upgrade' to upgrade to it.

Last login: <redacted>
$


But I don't intend to upgrade to 12.10, because Mythbuntu recommends using LTS releases only.



How do I suppress the "New release '12.10' available" message? I don't want to be notified until the next LTS release is available.



I've already gone to Update Manager > Settings > Updates and selected "Notify me of a new Ubuntu version: For long-term support versions", but that didn't get rid of this message.


More From » upgrade

 Answers
7

The other answers aren't quite right, but combining them put me on the right track.



/etc/update-manager/release-upgrades controls what updates you'll be notified about. /usr/lib/update-manager/release-upgrade-motd generates the "update available" message. The problem is that release-upgrade-motd caches the message, which means that once it's been generated, changing /etc/update-manager/release-upgrades doesn't get rid of the message.



So the answer is:




  1. Tell Update Manager what releases you want to be notified about.


  2. sudo rm /var/lib/update-notifier/release-upgrade-available to get rid of the cached message.







Note: For version 13.04 (and later), the path has changed. So point 2. to get rid of the cached message is now:



sudo rm /var/lib/ubuntu-release-upgrader/release-upgrade-available

[#34751] Friday, February 24, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iething

Total Points: 49
Total Questions: 127
Total Answers: 112

Location: Luxembourg
Member since Tue, Jan 25, 2022
2 Years ago
;