Package: unattended-upgrades
Version: 2.9.1+nmu3
Severity: important
X-Debbugs-Cc: raom....@gmail.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
        Trying to limit the days of the week on which unattended-upgrades run
        
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
        Edited systemd's apt-daily.timer and apt-daily-upgrade.timer

Here are the contents of my apt-daily.timer:    

[Unit]
Description=Daily apt download activities

[Timer]
OnCalendar=Sat,Sun *-*-* 17:00
RandomizedDelaySec=12h
Persistent=true

[Install]
WantedBy=timers.target


And here are the contents of my apt-daily-upgrade.timer

[Unit]
Description=Daily apt upgrade and clean activities
After=apt-daily.timer
 
[Timer]
OnCalendar=Sat,Sun *-*-* 18:00
RandomizedDelaySec=60m
Persistent=true
 
[Install]
WantedBy=timers.target


I also uncommented the line "Unattended-Upgrade::InstallOnShutdown "False";" in 
/etc/apt.conf.d/50unattended-upgrades


   * What was the outcome of this action?
        unattended-upgrades run everyday of the week, stalling the shutdown 
process most times
   * What outcome did you expect instead?
        To only run and download packages on saturdays and sundays at the 
specified times



I feel like I'm missing something, but don't know where else to look for help


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing'), (50, 'unstable'), 
(50, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-6-amd64 (SMP w/6 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages unattended-upgrades depends on:
ii  debconf [debconf-2.0]      1.5.80
ii  lsb-base                   11.5
ii  lsb-release                12.0-1
ii  python3                    3.10.6-3+b1
ii  python3-apt                2.5.0
ii  python3-dbus               1.3.2-3
ii  python3-distro-info        1.2
ii  sysvinit-utils [lsb-base]  3.06-2
ii  ucf                        3.0043
ii  xz-utils                   5.4.0-0.1

Versions of packages unattended-upgrades recommends:
ii  cron [cron-daemon]  3.0pl1-154
ii  systemd-sysv        252.5-2

Versions of packages unattended-upgrades suggests:
pn  bsd-mailx                                  <none>
ii  exim4-daemon-light [mail-transport-agent]  4.96-12
pn  needrestart                                <none>
ii  powermgmt-base                             1.37
ii  python3-gi                                 3.42.2-3

-- debconf information:
  unattended-upgrades/enable_auto_updates: true

Reply via email to