Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a number of Ubuntu machines that have unattended-upgrades set up. I am running 11.10 and do not wish to update to 12.04. How can I disable the upgrade dialog (which still pops up after booting the machines) from the command line?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

I think you can edit /etc/update-manager/release-upgrades,

> # default behavior for the release upgrader
> #
> 
> [DEFAULT]
> # default prompting behavior, valid options:
> #  never  - never prompt for a new distribution version
> #  normal - prompt if a new version of the distribution is available
> #  lts    - prompt only if a LTS version of the distribution is available Prompt=normal
> Prompt=never

You probably want to set it to never.

share|improve this answer
    
am i the only one who thinks that is incredibly unclear? "never prompt" sounds like it'll never ask if you want to update or not. –  acolyte May 22 '12 at 13:13
    
Well in my case, this is the desired behavior –  Rom1 May 22 '12 at 16:44

I find this gives better granularity

/etc/apt/apt.conf.d/10periodic

Set all Options to 0 to disable auto updates, but you can adjust as you wish:

APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Unattended-Upgrade "0";
share|improve this answer

Your Answer

 
discard

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.