[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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


Reply to: