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

Re: Unattended upgrades.



Lisi Reisz [2017-03-24 17:13:21Z] wrote:

> On Friday 24 March 2017 09:56:23 didier gaumet wrote:
>> # dpkg-reconfigure -plow unattended-upgrades
>
> This is what I had missed!  I have now run it.

The command creates file /etc/apt/apt.conf.d/20auto-upgrades:

    APT::Periodic::Update-Package-Lists "1";
    APT::Periodic::Unattended-Upgrade "1";

And that makes unattended-upgrade run daily. (As I wrote in my earlier
message.)

Actually it's the cron (Debian 8) or systemd unit
apt-daily.{timer,service} (Debian 9) that runs a script that in turn
will run unattended-upgrade if those APT::Periodic settings are set.

-- 
/// Teemu Likonen   - .-..   <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

Attachment: signature.asc
Description: PGP signature


Reply to: