Your message dated Tue, 06 Nov 2018 18:34:55 +0000
with message-id <[email protected]>
and subject line Bug#909543: fixed in unattended-upgrades 1.7
has caused the Debian Bug report #909543,
regarding unattended-upgrades: should not depend on python3-cairo and other
graphical packages via python3-gi
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
909543: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909543
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Source: unattended-upgrades
Source-Version: 1.7
We believe that the bug you reported is fixed in the latest version of
unattended-upgrades, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Balint Reczey <[email protected]> (supplier of updated unattended-upgrades
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 18 Oct 2018 00:58:48 +0200
Source: unattended-upgrades
Binary: unattended-upgrades
Architecture: source
Version: 1.7
Distribution: unstable
Urgency: medium
Maintainer: Michael Vogt <[email protected]>
Changed-By: Balint Reczey <[email protected]>
Description:
unattended-upgrades - automatic installation of security upgrades
Closes: 909543
Launchpad-Bugs-Fixed: 1649709 1778219 1795657 1795692 1795696 1796100
Changes:
unattended-upgrades (1.7) unstable; urgency=medium
.
[ Nils Toedtmann ]
* Clarify 'A reboot is required' warning, that the requirement might stem
from a previous run
.
[ Balint Reczey ]
* Build depend on and run pycodestyle, the replacement of pep8
* autopkgtest: Clean up after failed debootstrap to retry cleanly
* Handle when unattended-upgrades stopped without
unattended-upgrade-shutdown sending SIGTERM (LP: #1795657)
* Don't crash on missing dpkg log file (LP: #1795692)
* do_auto_remove() is successful unless a commit() operation fails
(LP: #1795696)
* Check only dowloaded .deb files for conffile prompts (LP: #1796100)
* Recommend systemd-sysv as the first alternative of cron.
Unattended-upgrades is started via systemd timers or by the .service file
on the default Debian and Ubuntu installations without cron's involvement.
Systems without systemd-sysv can still install unattended-upgrades and run
it via cron.
* Only suggest python3-gi and skip check for metered connection when it is
missing (Closes: #909543)
* Only suggest powermgmt-base amd skip checking power status when it is not
present
* Show message about missing optional dependencies only once
* Add configuration file option to enable verbose and debug logging.
Thanks to Paul Wise
* Revert to running unattended-upgrades.service in multi-user.target
* Trigger unattended-upgrade-shutdown actions with PrepareForShutdown()
Performing upgrades in service's ExecStop did not work when the upgrades
involved restarting services because systemd blocked other stop/start
actions making maintainer scripts time out and be killed leaving a broken
system behind.
Running unattended-upgrades.service before shutdown.target as a oneshot
service made it run after unmounting filesystems and scheduling services
properly on shutdown is a complex problem and adding more services to the
mix make it even more fragile.
The solution of monitoring PrepareForShutdown() signal from DBus
allows Unattended Upgrade to run _before_ the jobs related to shutdown are
queued thus package upgrades can safely restart services without
risking causing deadlocks or breaking part of the shutdown actions.
Also ask running unattended-upgrades to stop when shutdown starts even in
InstallOnShutdown mode and refactor most of unattended-upgrade-shutdown to
UnattendedUpgradesShutdown class. (LP: #1778219)
* Handle reverting to WantedBy=multi-user.target when upgrading from 1.5 or
1.6
* debian/postinst: Redirect stdout from systemctl and deb-systemd-invoke to
stderr and skip running systemctl start unattended-upgrades.service when
unattended-upgrades is already running to avoid deadlock.
* Increase logind's InhibitDelayMaxSec to 30s.
This allows more time for unattended-upgrades to shut down gracefully
or even install a few packages in InstallOnShutdown mode, but is still a
big step back from the 30 minutes allowed for InstallOnShutdown previously.
Users enabling InstallOnShutdown node are advised to increase
InhibitDelayMaxSec even further, possibly to 30 minutes.
.
[ Brian Murray ]
* unattended-upgrades: Do not automatically upgrade the development release
of Ubuntu unless Unattended-Upgrade::DevRelease is true. (LP: #1649709)
.
[ Julian Andres Klode ]
* Do not run on development releases until 21 days before release.
This works for Ubuntu, and is only enabled there. Also explicitly
log those messages to syslog, so a user can easily find them and
then dig for more information in the u-u log.
Checksums-Sha1:
1fec12ee2a1b57ee06f5e54dfadebf3c120a9904 1844 unattended-upgrades_1.7.dsc
1474a9e35bfb478a2f4a0d24b99388b7501befbf 107236 unattended-upgrades_1.7.tar.xz
a861dc9e9b0e406e073937486b0f704eb0e987e8 7785
unattended-upgrades_1.7_source.buildinfo
Checksums-Sha256:
6be876fbf44f3068f4f842896b1db88cb1f9b316d19fe16be96c5daa10199f53 1844
unattended-upgrades_1.7.dsc
c2caf69537d1e7651f9cb9b7540c9d137b6cf7cda58dda57099e3d86bb4577a3 107236
unattended-upgrades_1.7.tar.xz
4191a0ab033907a3f50da604205b928c86ea582514bb3a5d603f5c94cc49c330 7785
unattended-upgrades_1.7_source.buildinfo
Files:
a4d4da1e785edcd1041fb7a2e5f3c56a 1844 admin optional
unattended-upgrades_1.7.dsc
3bfa5737d2ac636d592f7073bb3edbc8 107236 admin optional
unattended-upgrades_1.7.tar.xz
a8b001984c5fc809a6bcbc26560590d2 7785 admin optional
unattended-upgrades_1.7_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEI/PvTgXX55rLQUfDg6KBkWslS0UFAlvh24IACgkQg6KBkWsl
S0XtkBAAtp/KdzFyrqYFYgng4YWLPEy+IPinsdeYsP8XKxU3zmQfzBosNsGC9i7e
38Vq4RY66gbZnFhTfjH3hngedEBC1ym1/JeqzE7LJ6VdnVpwidgdxeouOTMGglle
VH8shBAK+KLpGwbYMGsbrgGpLoHzFEdYA7hvCEGvlhw+hFB2UBOF4Fr8lIw9tKsR
x3EJKIEuB3UGq0ClSjcBrk+59ZzK1c34OqUfBDGyqUGVddE4nzs9a5VmIKYyafGm
U7ApZ5mhyYvGQqvmG+3oWtloNtc/KhyCX9Fqk17D2TOjwc32QPKFPz3dQ5hQmL3d
CUBcAkkBxSI9xARH+0LG9IF8h4nHddc+8TInwEUrX+WnkowK/TDpnkP+ip+lgiCO
+IGEVgzViJnx5JQqcNJ1+10Hn8uVXyWnwKGzJUVV8d8PnTWB2YDjkZdtsqq72pAm
lK7cDf+IO/PLCerM+a3bLvZjHB7lxwIyfKoOsKJMhjIii/w5Pr72Uow5CLtdKFXp
6WXIe5IvAjmHQcfBnpMTFKRq8AyQkGSsRLTo3wDEAX4pfgwsgNxAvdUZJctttWqS
/+0WFgeF1zxhjoRZZQJMcwxTlqB7MTxJ8tJfV3PxytzMwpBPaMrE9HVqrWUfQAtR
i5UQMaRMadhC63zcyB0cwufV8wJHPZmbD7MZdaKqgITTtIkVqYA=
=FsNq
-----END PGP SIGNATURE-----
--- End Message ---