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


Groups > linux.debian.user > #179176

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

From Teemu Likonen <tlikonen@iki.fi>
Newsgroups linux.debian.user
Subject Re: Unattended upgrades. Debian methods, please, not Ubuntu.
Date 2017-03-23 05:30 +0100
Message-ID <to2xP-5ra-1@gated-at.bofh.it> (permalink)
References <tnCtI-2B5-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

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

Back to linux.debian.user | Previous | Next — Previous in thread | Next 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