Commit 575ae9eb authored by intrigeri's avatar intrigeri

Disable periodic APT operations (refs: #17278)

We have already masked apt-daily.timer (#12390), but apt-daily-upgrade.timer was
left enabled. AFAICT it's a no-op by default, but better safe than sorry.

Finally, drop masking of apt-daily.timer: APT::Periodic::Enable effectively
makes apt-daily*.timer no-ops.
parent b7150ba0
......@@ -65,9 +65,6 @@ systemctl mask hwclock-save.service
# Do not run timesyncd: we have our own time synchronization mechanism
systemctl mask systemd-timesyncd.service
# apt-daily.service can only cause problems in our context (#12390)
systemctl mask apt-daily.timer
# Do not let pppd-dns manage /etc/resolv.conf
systemctl mask pppd-dns.service
......
# This effectively disables apt-daily*.{timer,service}, which might
# interfere with Additional Software operations (#12390, #17278)
APT::Periodic::Enable "0";
......@@ -611,7 +611,8 @@ def upgrade_additional_packages():
delete_old_apt_lists()
# Remove outdated packages from the local package cache. This is needed as
# we disable apt-daily.timer, which would else take care of this cleanup.
# we disable apt-daily*.timer (via APT::Periodic::Enable), which would
# else take care of this cleanup.
# We do this after the upgrade has succeeded so that the old packages
# remain available in the cache in case we have to restore the old lists.
# In the past we did this before upgrading in order to remove the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment