Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #179235

Re: Unattended upgrades. Debian methods, please, not Ubuntu.

From Lisi Reisz <lisi.reisz@gmail.com>
Newsgroups linux.debian.user
Subject Re: Unattended upgrades. Debian methods, please, not Ubuntu.
Date 2017-03-24 09:50 +0100
Message-ID <tot50-7ku-11@gated-at.bofh.it> (permalink)
References <tnCtI-2B5-5@gated-at.bofh.it> <to2xP-5ra-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thursday 23 March 2017 04:26:17 Teemu Likonen wrote:
> Lisi Reisz [2017-03-22 00:37:18Z] wrote:
> > How do I get unattended upgrades a) to function and b) to tell me when
> > it has upgraded something.
>
> Probably you need to add the following lines in the top of
> /etc/apt/apt.conf.d/50unattended-upgrades file (or some other file in
> the same directory).
>
>     APT::Periodic::Update-Package-Lists "1";
>     APT::Periodic::Unattended-Upgrade "1";
>     APT::Periodic::CleanInterval "1";
>
> Systemd timer and service apt-daily.{timer,service} runs daily but if a
> laptop is on battery power the service unit doesn't do anything. That's
> easy to override on Debian 9 but requires an uglier hack on Debian 8.

Thank you, Teemu.  I haven't yet tried that, but intend doing so.  

Lisi

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Unattended upgrades.  Debian methods, please, not Ubuntu. Lisi Reisz <lisi.reisz@gmail.com> - 2017-03-22 01:40 +0100
  Re: Unattended upgrades. Debian methods, please, not Ubuntu. didier gaumet <didier.gaumet@gmail.com> - 2017-03-22 08:50 +0100
    Re: Unattended upgrades. Debian methods, please, not Ubuntu. Lisi Reisz <lisi.reisz@gmail.com> - 2017-03-23 02:10 +0100
      Re: Unattended upgrades. Debian methods, please, not Ubuntu. didier gaumet <didier.gaumet@gmail.com> - 2017-03-23 10:10 +0100
        Re: Unattended upgrades. Lisi Reisz <lisi.reisz@gmail.com> - 2017-03-24 09:50 +0100
          Re: Unattended upgrades. didier gaumet <didier.gaumet@gmail.com> - 2017-03-24 11:00 +0100
            Re: Unattended upgrades. Lisi Reisz <lisi.reisz@gmail.com> - 2017-03-24 18:20 +0100
              Re: Unattended upgrades. Teemu Likonen <tlikonen@iki.fi> - 2017-03-24 18:40 +0100
                Re: Unattended upgrades. Lisi Reisz <lisi.reisz@gmail.com> - 2017-03-24 18:50 +0100
  Re: Unattended upgrades.  Debian methods, please, not Ubuntu. Teemu Likonen <tlikonen@iki.fi> - 2017-03-23 05:30 +0100
    Re: Unattended upgrades.  Debian methods, please, not Ubuntu. Lisi Reisz <lisi.reisz@gmail.com> - 2017-03-24 09:50 +0100

csiph-web