Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to disallow Ubuntu to upgrade from like 11.10 to 12.04?

I know that its your wish if you want to upgrade, but I don't want the message in update manager that says a new release is available to get displayed.

All help will be appreciated

share|improve this question
up vote 13 down vote accepted

Open the /etc/update-manager/release-upgrades with your favorite text editor, ie:

sudo nano /etc/update-manager/release-upgrades

enter image description here

Change the Prompt= line from Prompt=foo_setting to Prompt=never.

If you want a graphical way of doing it open the Ubuntu Software Center and under Edit > Software Sources > Updates you will find a Notify me of a new Ubuntu version option, from the drop box select Never.

enter image description here

share|improve this answer
Thanks a lot! Can you also tell me how'd you change the terminal background? Pretty cool I must say! :) – user51447 Mar 25 '12 at 15:36
@user51447 Edit > Profile Preferences > Colors and Edit > Profile Preferences > Background will allow you to config what you need in gnome-terminal. If the answer works please use the check green mark next to the up and down vote to mark is answered. – Bruno Pereira Mar 25 '12 at 15:40

To stop Ubuntu nagging you:

nano /etc/update-manager/release-upgrades

change Prompt=normal to Prompt=never

To exit nano

Ctrl-X, Y
share|improve this answer

Or just use sed! We just added this to our setup script to avoid our users from borking their own systems by doing upgrades.

sudo sed -i 's/Prompt=.*/Prompt=never/' /etc/update-manager/release-upgrades
share|improve this answer

You can also just disable checking altogether by doing apt-get remove ubuntu-release-upgrader-core

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.