Results 1 to 10 of 10

Thread: Turning off automatic update on Server 9.04

  1. #1
    Join Date
    Mar 2009
    Location
    SW London
    Beans
    5
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Turning off automatic update on Server 9.04

    Hi All

    I'm having a bit of a problem in that I must recompile the modules for VMWare every time my Ubuntu Server runs the automatic update. This always seems to happen when I need the server the most so I need to turn off automatic updates so I can then do them manually and have a bit more control over when I can sort out VMWare.

    I've looked at modifying the file /etc/cron.daily/apt but to be honest it's a bit above my skill level; there is a post that advises you change the file but doesn't specify exactly what you need to change. I wondered if anyone can point me in the right direction?

    TIA, Simplified

  2. #2
    Join Date
    Jul 2005
    Location
    Finland
    Beans
    72
    Distro
    Ubuntu Development Release

    Re: Turning off automatic update on Server 9.04

    Hi,

    in file:
    Code:
    /etc/apt/apt.conf.d/50unattended-upgrades
    comment out update update you don't want to upgrade automatically
    eg:
    Code:
    // Automatically upgrade packages from these (origin, archive) pairs
    Unattended-Upgrade::Allowed-Origins {
    //        "Ubuntu jaunty-security";
    //      "Ubuntu jaunty-updates";
    };

    - Tero

  3. #3
    Join Date
    Jan 2007
    Location
    UK
    Beans
    32
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Turning off automatic update on Server 9.04

    I was wondering the same thing. Thanks for the answer

  4. #4
    Join Date
    Mar 2009
    Location
    SW London
    Beans
    5
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Turning off automatic update on Server 9.04

    Hi Tero

    Thank you for that, I've made the change.

    Your help is most appreciated!

    Cheers, Simplified

  5. #5
    Join Date
    Feb 2009
    Beans
    6
    Distro
    Ubuntu

    Re: Turning off automatic update on Server 9.04

    Hi t3r0,

    Thanks for the simple and clear answer.

  6. #6
    Join Date
    Nov 2008
    Beans
    30
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Turning off automatic update on Server 9.04

    thx

  7. #7
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Turning off automatic update on Server 9.04

    Quote Originally Posted by simplified View Post
    Hi All

    I'm having a bit of a problem in that I must recompile the modules for VMWare every time my Ubuntu Server runs the automatic update. This always seems to happen when I need the server the most so I need to turn off automatic updates so I can then do them manually and have a bit more control over when I can sort out VMWare.
    ..........
    Or: http://ubuntuforums.org/showthread.php?t=1418747
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  8. #8
    Join Date
    Feb 2008
    Beans
    35

    Re: Turning off automatic update on Server 9.04

    What about just running:

    HTML Code:
    sudo apt-get remove unattended-upgrades
    ?

  9. #9
    Join Date
    Jun 2012
    Beans
    1

    Re: Turning off automatic update on Server 9.04

    Quote Originally Posted by yngens View Post
    What about just running:

    HTML Code:
    sudo apt-get remove unattended-upgrades
    ?
    That would be a bad idea, at least on Desktop. It may be ok on Server.

    root@aurora:/etc/init.d# apt-get remove unattended-upgrades
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    python-lxml gir1.2-unique-3.0 language-pack-kde-en kde-l10n-engb
    language-pack-kde-en-base
    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
    aptdaemon apturl landscape-client-ui-install language-selector
    language-selector-gnome nautilus-share python-aptdaemon
    python-aptdaemon-gtk python-aptdaemon.gtk3widgets
    python-aptdaemon.gtkwidgets python-aptdaemon.pkcompat
    python-software-properties sessioninstaller software-center
    software-properties-gtk ubufox ubuntu-desktop ubuntu-tweak
    ubuntuone-control-panel-common ubuntuone-control-panel-gtk
    ubuntuone-control-panel-qt ubuntuone-installer unattended-upgrades
    xul-ext-ubufox
    0 upgraded, 0 newly installed, 24 to remove and 19 not upgraded.
    After this operation, 15.1 MB disk space will be freed.
    Do you want to continue [Y/n]? n
    Abort.
    root@aurora:/etc/init.d#



    By the way, I found this answer on my own:
    root@aurora:/etc/init.d# update-rc.d unattended-upgrades disable
    update-rc.d: warning: unattended-upgrades stop runlevel arguments (none) do not match LSB Default-Stop values (0 6)
    Disabling system startup links for /etc/init.d/unattended-upgrades ...
    Removing any system startup links for /etc/init.d/unattended-upgrades ...
    /etc/rc0.d/K20unattended-upgrades
    /etc/rc1.d/K20unattended-upgrades
    /etc/rc2.d/S20unattended-upgrades
    /etc/rc3.d/S20unattended-upgrades
    /etc/rc4.d/S20unattended-upgrades
    /etc/rc5.d/S20unattended-upgrades
    /etc/rc6.d/K20unattended-upgrades
    Adding system startup for /etc/init.d/unattended-upgrades ...
    /etc/rc0.d/K20unattended-upgrades -> ../init.d/unattended-upgrades
    /etc/rc1.d/K20unattended-upgrades -> ../init.d/unattended-upgrades
    /etc/rc6.d/K20unattended-upgrades -> ../init.d/unattended-upgrades
    /etc/rc2.d/K80unattended-upgrades -> ../init.d/unattended-upgrades
    /etc/rc3.d/K80unattended-upgrades -> ../init.d/unattended-upgrades
    /etc/rc4.d/K80unattended-upgrades -> ../init.d/unattended-upgrades
    /etc/rc5.d/K80unattended-upgrades -> ../init.d/unattended-upgrades
    Last edited by loconut; June 19th, 2012 at 11:19 PM. Reason: extra information

  10. #10
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,573
    Distro
    Ubuntu

    Re: Turning off automatic update on Server 9.04

    If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.
    Closed.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •