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


Groups > linux.debian.user > #245117

Re: systemd[1]: Starting Daily apt upgrade and clean activities...

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: systemd[1]: Starting Daily apt upgrade and clean activities...
Date 2022-02-08 22:20 +0100
Message-ID <DOG41-tQF-7@gated-at.bofh.it> (permalink)
References <DOEEV-sIa-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 08 Feb 2022 at 14:25:35 (-0500), Lee wrote:
> Apparently the syslog message
>   systemd[1]: Starting Daily apt upgrade and clean activities...
> is caused by systemd / apt-daily.timer - correct?
> 
> # sudo systemctl status apt-daily.timer
> ● apt-daily.timer - Daily apt download activities
>      Loaded: loaded (/lib/systemd/system/apt-daily.timer; enabled;
> vendor preset: enabled)
>      Active: active (waiting) since Fri 2022-01-28 15:16:57 EST; 1
> weeks 3 days ago
>     Trigger: Wed 2022-02-09 00:33:19 EST; 10h left
>    Triggers: ● apt-daily.service
> 
> I'm sure I don't want any automatic apt upgrade happening, but what
> are the "clean activities"?

You start with the line above:

>      Loaded: loaded (/lib/systemd/system/apt-daily.timer; …

and check the service it provides:

$ tail -n 3 /lib/systemd/system/apt-daily.service
ExecStartPre=-/usr/lib/apt/apt-helper wait-online
ExecStart=/usr/lib/apt/apt.systemd.daily update

$ 

So look at:

$ head -n 6 /usr/lib/apt/apt.systemd.daily
#!/bin/sh
#set -e
#
# This file understands the following apt configuration variables:
# Values here are the default.
# Create /etc/apt/apt.conf.d/10periodic file to set your preference.
$ 

That file contains helpful comments and the scripts, but what runs
depends on /etc/apt/apt.conf.d/10periodic, or other apt configurations,
which I don't have set.

Presumably the installers "unattended upgrades" option plays
with this stuff.

(The heads and tails above are just to trim the post; you're
not expected to use them a priori.)

Cheers,
David.

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


Thread

systemd[1]: Starting Daily apt upgrade and clean activities... Lee <ler762@gmail.com> - 2022-02-08 20:50 +0100
  Re: systemd[1]: Starting Daily apt upgrade and clean activities... Greg Wooledge <greg@wooledge.org> - 2022-02-08 21:10 +0100
  Re: systemd[1]: Starting Daily apt upgrade and clean activities... Dan Ritter <dsr@randomstring.org> - 2022-02-08 21:20 +0100
    Re: systemd[1]: Starting Daily apt upgrade and clean activities... ghe2001 <ghe2001@protonmail.com> - 2022-02-08 22:20 +0100
  Re: systemd[1]: Starting Daily apt upgrade and clean activities... David Wright <deblis@lionunicorn.co.uk> - 2022-02-08 22:20 +0100
  Re: systemd[1]: Starting Daily apt upgrade and clean activities... Andy Smith <andy@strugglers.net> - 2022-02-09 07:40 +0100

csiph-web