Disabling auto updates in Ubuntu 12.

Posted on 2012-09-15
Last Modified: 2012-10-08
Hello experts.

Where in Ubuntu 12, in Software Manger the option "Disable auto updates" or "auto updates" never.

I am looking for gui, option, I don't have time and memory to walk through command line forest of recommendations.

(The main reason of the question is that auto update may shift amount of boot options in grub boot menu which may shift option for Window and the default option number will become "Window rescue load" which is really dangerous for unexpecting user.)

Thank you.
Question by:Bitlab
    LVL 87

    Expert Comment

    Normally Ubuntu wouldn't/shouldn't install kernel updates automatically, unless you have changed it's defaults yourself. The standard settings will just notify you of what updates are available, and then it is up to you to install the, or not. Apart from that, if you do install kernel updates the update manager will (at least that's my experience up to now) change grub accordingly so it loads the same whatever is set automatically as it was before the update, it only changes the Ubuntu entry to the new kernel.

    Also, I'm not sure what you mean with "Windows rescue load". That usually isn't part of even the Windows boot manager, unless that is a manufacturer's provided boot option to restore the system to factory defaults. If that is the case, then all you need to do is comment that entry out of your Grub boot menu, as that isn't needed. In all those cases where there is such a recovery partition, you don't start it via grub, but rather via a key combination after turning on the PC, similar to getting into the BIOS, on Dell PC's for example it is usually ctrl+f11 when the blue Dell logo appears. Once you have commented it out within grub it won't show up in the menu (# marks in front of an entry are comments).

    If you still want to change your update settings within Ubuntu, first start the update manager and then click on "settings". Now you can change how ubuntu should handle settings. The default is usually to "Display" them and not to "download" or "Download and install" them. Then the user can select what should be done with updates, he'll just get notified about their availability. You can then select or deselect those updates you want installed and which ones you don't need.

    You can also run the normal updates via a terminal and the "sudo apt-get update", then "sudo apt-get upgrade" commands. This will install all updates except kernel updates. To also install other updates, including kernel updates, you would enter "sudo apt-get update", then "sudo apt-get dist-upgrade".
    LVL 2

    Author Comment

    Thank you. Great answer. Except the point of editing Grub boot menu.

    I believe there is not way to disable "Windows rescue loader" or what ever name grub will assign to it.  It is illegal and impossible to disable it in

    Impossible because the same day Ubuntu updates software, it rewrites this file.

    The legal way is to edit
    this: /etc/default/grub
    but there are the entries to delete?

    I already asked this question, but all answers were wrong,  and I am still (1year) live with this boot menu entry.

    Thank you.
    LVL 87

    Accepted Solution

    There is also an /etc/grub.d/40_custom file to which you can add entries. This file then gets processed every time you run sudo update-grub. So that is where you can make your own configs.

    The Link below should be of some help:
    LVL 2

    Author Comment

    Thank you.

    Perhaps, I have to understand these topics from this link:

    Removing Default Script Entries
    Using Only a Custom Menu

    It may take more than 5 minutes to understand. Let's do it later.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now