--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
12-09-2009, 06:27 PM
Steve
Automatic background updates
On Wed, 09 Dec 2009 18:41:25 -0000, Liam Proven <lproven@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.
--
Steve
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
12-09-2009, 06:37 PM
Liam Proven
Automatic background updates
On Wed, Dec 9, 2009 at 7:27 PM, Steve <yorvik.ubunto@googlemail.com> wrote:
> On Wed, 09 Dec 2009 18:41:25 -0000, Liam Proven <lproven@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...?
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
12-09-2009, 06:49 PM
Aart Koelewijn
Automatic background updates
On Wed, 09 Dec 2009 19:37:32 +0000, Liam Proven wrote:
> On Wed, Dec 9, 2009 at 7:27 PM, Steve <yorvik.ubunto@googlemail.com>
> wrote:
>> On Wed, 09 Dec 2009 18:41:25 -0000, Liam Proven <lproven@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...
same in 9.10. Delete the comment sign (#) in front of the line and change
the 0 to 1 (or 2 or 3 or ..). Now it reads:
APT::Periodic::Unattended-Upgrade "1";
Now save, that is all.
Aart
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
12-09-2009, 06:51 PM
Liam Proven
Automatic background updates
On Wed, Dec 9, 2009 at 7:49 PM, Aart Koelewijn <aart@mtack.xs4all.nl> wrote:
> On Wed, 09 Dec 2009 19:37:32 +0000, Liam Proven wrote:
>
>> On Wed, Dec 9, 2009 at 7:27 PM, Steve <yorvik.ubunto@googlemail.com>
>> wrote:
>>> On Wed, 09 Dec 2009 18:41:25 -0000, Liam Proven <lproven@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...
>
> same in 9.10. Delete the comment sign (#) in front of the line and change
> the 0 to 1 (or 2 or 3 or ..). Now it reads:
> APT::Periodic::Unattended-Upgrade "1";
> Now save, that is all.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
12-09-2009, 08:42 PM
Florian Diesch
Automatic background updates
Liam Proven <lproven@gmail.com> writes:
> 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
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
12-09-2009, 10:09 PM
Steve
Automatic background updates
On Wed, 09 Dec 2009 19:51:39 -0000, Liam Proven <lproven@gmail.com> wrote:
> On Wed, Dec 9, 2009 at 7:49 PM, Aart Koelewijn <aart@mtack.xs4all.nl>
> wrote:
>> On Wed, 09 Dec 2009 19:37:32 +0000, Liam Proven wrote:
>>
>>> On Wed, Dec 9, 2009 at 7:27 PM, Steve <yorvik.ubunto@googlemail.com>
>>> wrote:
>>>> On Wed, 09 Dec 2009 18:41:25 -0000, Liam Proven <lproven@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...
>>
>> same in 9.10. Delete the comment sign (#) in front of the line and
>> change
>> the 0 to 1 (or 2 or 3 or ..). Now it reads:
>> APT::Periodic::Unattended-Upgrade "1";
>> Now save, that is all.
>
> Terrific! Thanks, I will try that.
>
One problem I foresee is, will you be informed if a restart is required of
either an application or the machine.
--
Steve
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
12-10-2009, 12:55 AM
NoOp
Automatic background updates
On 12/09/2009 10:41 AM, Liam Proven 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
>
> ...?
>
One thing to keep in mind is that (once you get this working to your
liking) is that the auto upgrade will go out and fetch updates in the
background, and in the process the download can saturate your existing
network connection. For this reason I add an apt download limiter by
placing an /etc/apt/apt.conf file on all of my systems. The following is
what I use for a 1.5Mb DSL line, it keeps the download to 1Mb so that I
still have 500Kb of bandwidth to browse etc.
Just adjust 'Dl-Limit "100"' to whatever you need.
In the past when I had auto update set for customers/relatives etc.,
they'd be doing something & all of a sudden thought that they had
network and machine problems. Updates were soaking their connection &
then the updated installs were soaking the cpu during the installs. So
now I just add the apt.conf file and drill it in their heads to click
and perform the updates when they see the notification on the desktop.
(realise you aren't talking desktop, but the same file helps on my test
servers as well).
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
12-10-2009, 11:05 AM
Liam Proven
Automatic background updates
On Wed, Dec 9, 2009 at 11:09 PM, Steve <yorvik.ubunto@googlemail.com> wrote:
> On Wed, 09 Dec 2009 19:51:39 -0000, Liam Proven <lproven@gmail.com> wrote:
>
>> On Wed, Dec 9, 2009 at 7:49 PM, Aart Koelewijn <aart@mtack.xs4all.nl>
>> wrote:
>>> On Wed, 09 Dec 2009 19:37:32 +0000, Liam Proven wrote:
>>>
>>>> On Wed, Dec 9, 2009 at 7:27 PM, Steve <yorvik.ubunto@googlemail.com>
>>>> wrote:
>>>>> On Wed, 09 Dec 2009 18:41:25 -0000, Liam Proven <lproven@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...
>>>
>>> same in 9.10. Delete the comment sign (#) in front of the line and
>>> change
>>> the 0 to 1 (or 2 or 3 or ..). Now it reads:
>>> APT::Periodic::Unattended-Upgrade "1";
>>> Now save, that is all.
>>
>> Terrific! Thanks, I will try that.
>>
> One problem I foresee is, will you be informed if a restart is required of
> either an application or the machine.
That's true, and thanks, but I am expecting these machines to be
turned off after use & so rebooted daily. I reckon we can live with a
possible delay of a few hours between installation & reboot.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
12-10-2009, 11:06 AM
Liam Proven
Automatic background updates
On Thu, Dec 10, 2009 at 1:55 AM, NoOp <glgxg@sbcglobal.net> wrote:
> On 12/09/2009 10:41 AM, Liam Proven 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
>>
>> ...?
>>
>
> One thing to keep in mind is that (once you get this working to your
> liking) is that the auto upgrade will go out and fetch updates in the
> background, and in the process the download can saturate your existing
> network connection. For this reason I add an apt download limiter by
> placing an /etc/apt/apt.conf file on all of my systems. The following is
> what I use for a 1.5Mb DSL line, it keeps the download to 1Mb so that I
> still have 500Kb of bandwidth to browse etc.
>
> $ cat /etc/apt/apt.conf
> //---------------------------
> // Options for limiting Update Manager download speeds
> Acquire
> {
> Queue-Mode "access"; Â* Â* Â* // host|access
> http
> {
> Dl-Limit "100"; Â* Â* Â* Â*// 100Kb/sec maximum download rate
> };
> };
> //--------------------------
>
> Just adjust 'Dl-Limit "100"' to whatever you need.
>
> In the past when I had auto update set for customers/relatives etc.,
> they'd be doing something & all of a sudden thought that they had
> network and machine problems. Updates were soaking their connection &
> then the updated installs were soaking the cpu during the installs. So
> now I just add the apt.conf file and drill it in their heads to click
> and perform the updates when they see the notification on the desktop.
> (realise you aren't talking desktop, but the same file helps on my test
> servers as well).