Package: unattended-upgrades Version: 1.5 Severity: wishlist Dear Maintainer,
unattended-upgrades depends on python3-gi which depends on python3-cairo. This is annoying because, on headless machines, it means that installing unattended-upgrades will install libcairo2 and other graphical stuff as a dependency. The reason why unattended-upgrades depends on python3-gi seems to be because unattended-upgrades uses it to check whether the current network connection is metered, and avoid performing the upgrades in that case. A simple solution would be instead to change the code to work if python3-gi is not installed (by assuming that the current network connection is not metered), and change python3-gi to be a Recommends of unattended-upgrades rather than a Depends. This would intuitively sense because metered connections are usually only an issue on desktop systems (not headless systems), where (one hopes) python3-gi would be installed. Alternatively, a better fix would be to see whether the check for a metered connection couldn't be performed differently, without depending on python3-gi. Best, -- Antoine Amarilli -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (650, 'testing'), (600, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.17.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /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.69 ii gir1.2-glib-2.0 1.58.0-1 ii lsb-base 9.20170808 ii lsb-release 9.20170808 ii powermgmt-base 1.33 ii python3 3.6.6-1 ii python3-apt 1.6.2 ii python3-gi 3.30.1-1 ii ucf 3.0038 ii xz-utils 5.2.2-1.3 Versions of packages unattended-upgrades recommends: ii cron [cron-daemon] 3.0pl1-130 Versions of packages unattended-upgrades suggests: ii bsd-mailx 8.1.2-0.20180807cvs-1 ii exim4-daemon-light [mail-transport-agent] 4.91-7 ii needrestart 3.3-1 -- Configuration Files: /etc/apt/apt.conf.d/50unattended-upgrades changed [not included] -- debconf information excluded