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


Groups > linux.debian.user > #245124

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

From Andy Smith <andy@strugglers.net>
Newsgroups linux.debian.user
Subject Re: systemd[1]: Starting Daily apt upgrade and clean activities...
Date 2022-02-09 07:40 +0100
Message-ID <DOONX-za0-1@gated-at.bofh.it> (permalink)
References <DOEEV-sIa-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

On Tue, Feb 08, 2022 at 02:25:35PM -0500, Lee wrote:
> Apparently the syslog message
>   systemd[1]: Starting Daily apt upgrade and clean activities...
> is caused by systemd / apt-daily.timer - correct?

No, that one is from apt-daily-upgrade.timer:

$ grep -r "upgrade and clean" /lib/systemd/
/lib/systemd/system/apt-daily-upgrade.timer:Description=Daily apt upgrade and clean activities
/lib/systemd/system/apt-daily-upgrade.service:Description=Daily apt upgrade and clean activities
$ systemctl cat apt-daily-upgrade
# /lib/systemd/system/apt-daily-upgrade.service
[Unit]
Description=Daily apt upgrade and clean activities
Documentation=man:apt(8)
ConditionACPower=true
After=apt-daily.service network.target network-online.target
systemd-networkd.servic>

[Service]
Type=oneshot
ExecStartPre=-/usr/lib/apt/apt-helper wait-online
ExecStart=/usr/lib/apt/apt.systemd.daily install
KillMode=process
TimeoutStopSec=900

> I'm sure I don't want any automatic apt upgrade happening, but what
> are the "clean activities"?

Upgrades only happen if you have allowed unattended-upgrades, so
don't be concerned by the description of the service saying
"upgrade".

"clean" refers to "apt-get clean" and "apt-get autoclean".

See the actual script /usr/lib/apt/apt.systemd.daily for the apt
configuration settings which would allow these things to happen and
control how often they happen.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

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