2

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?

3

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.

  • 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
1

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";

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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