PDA

View Full Version : [ubuntu] Turning off automatic update on Server 9.04


simplified
September 24th, 2009, 06:56 AM
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 :)

t3r0
September 24th, 2009, 07:24 AM
Hi,

in file: /etc/apt/apt.conf.d/50unattended-upgrades
comment out update update you don't want to upgrade automatically
eg:

// Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
// "Ubuntu jaunty-security";
// "Ubuntu jaunty-updates";
};



- Tero

jondkent
September 24th, 2009, 01:36 PM
I was wondering the same thing. Thanks for the answer

simplified
September 25th, 2009, 05:26 AM
Hi Tero

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

Your help is most appreciated! :)

Cheers, Simplified

rtotheototheb
October 30th, 2009, 04:52 AM
Hi t3r0,

Thanks for the simple and clear answer.

danger89
February 16th, 2010, 08:31 PM
thx :D

dcstar
March 6th, 2010, 01:45 AM
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

yngens
April 4th, 2012, 04:07 AM
What about just running:

sudo apt-get remove unattended-upgrades

?