Automatic background updates

Liam Proven lproven at gmail.com
Wed Dec 9 19:37:32 UTC 2009


On Wed, Dec 9, 2009 at 7:27 PM, Steve <yorvik.ubunto at googlemail.com> wrote:
> On Wed, 09 Dec 2009 18:41:25 -0000, Liam Proven <lproven at gmail.com> wrote:
>
>> Is there an "official" way to do this, rather than just using cron to
>> schedule a script that says something like...
>>
>>   apt-get update
>>   apt-get upgrade -y
>>
>> ...?
>>
> There’s a setting for install security updates with out confirmation in
> Update Manager > Preferences along with download in background, or am I
> missing something.

I'm hoping to not have to use the GUI at all.

There seems to be some skeletal stuff in
/etc/cron.daily/apt

... such as:

#  APT::Periodic::Unattended-Upgrade "0";
#  - Run the "unattended-upgrade" security upgrade script
#    every n-days (0=disabled)
#    Requires the package "unattended-upgrades" and will write
#    a log in /var/log/unattended-upgrades

But I don't know how this works or how to "activate" it...?

This is on 9.04, BTW...

-- 
Liam Proven • Profile: http://www.linkedin.com/in/liamproven
Email: lproven at cix.co.uk • GMail/GoogleTalk/Orkut: lproven at gmail.com
Tel: +44 20-8685-0498 • Cell: +44 7939-087884 • Fax: + 44 870-9151419
AOL/AIM/iChat/Yahoo/Skype: liamproven • LiveJournal/Twitter: lproven
MSN: lproven at hotmail.com • ICQ: 73187508




More information about the ubuntu-users mailing list