Package: unattended-upgrades
Version: 2.8
Severity: wishlist

When unattended-upgrades is run with the --dry-run flag, it still acquires a
cache lock (presumably from apt update?), and makes a pid file. These can
interfere with unattended-upgrade runs that are done without the --dry-run, and
can result in Cache acquire lock errors.

Ideally, for --dry-run, unattended-upgrades could use a temporary directory for
the lists location, and the pid, if it even needs one.

thanks!

-- System Information:
Debian Release: 11.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-11-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.77
ii  lsb-base               11.1.0
ii  lsb-release            11.1.0
ii  python3                3.9.2-3
ii  python3-apt            2.2.1
ii  python3-dbus           1.2.16-5
ii  python3-distro-info    1.0
ii  ucf                    3.0043
ii  xz-utils               5.2.5-2

Versions of packages unattended-upgrades recommends:
ii  anacron             2.3-30
ii  cron [cron-daemon]  3.0pl1-137
ii  systemd-sysv        247.3-6

Versions of packages unattended-upgrades suggests:
ii  bsd-mailx                       8.1.2-0.20180807cvs-2
ii  needrestart                     3.5-4
ii  postfix [mail-transport-agent]  3.5.6-1+b1
ii  powermgmt-base                  1.36
ii  python3-gi                      3.38.0-2

-- debconf information excluded

Reply via email to