From 1e1e75f0d5c6e6bfbf67b36266aa97edc7fb8bf1 Mon Sep 17 00:00:00 2001 From: Adam Spragg Date: Mon, 21 Mar 2022 14:39:03 +0000 Subject: Experimental support for `apt-listbugs` during downloads You have to explicitly enable it though --- README.md | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7f0062b..432bd34 100644 --- a/README.md +++ b/README.md @@ -36,31 +36,21 @@ Similarly, systemd is normally notified on `make uninstall`, but again if `DESTDIR` is set and different from `PREFIX`, the steps are omitted again. -## TODO - -### apt-listbugs +## apt-listbugs We disable `apt-listbugs` during upgrades, because desktop systems typically use `NetworkManager`, which is not started by default for `offline-updates.target`. And if `apt-listbugs` can't reach the network, it aborts the upgrade. -We could try pulling in the network during upgrades, just in case `apt-listbugs` -is installed. But that kind of defeats the purpose of "offline updates". Also, -it's redundant if `apt-listbugs` isn't installed. And given that this package's -target audience is mainly systems that are *not* individually managed by -attentive sysadmins, but are as much as possible fire-and-forget, "stable"/LTS -systems for users who aren't necessarily in a position to make a decision on -whether a bug will affect their workflow, the intersection of those systems with -`apt-desktop-upgrades` installed, and those with `apt-listbugs` installed, is -probably pretty small. +There is experimental functionality for checking `apt-listbugs` (if it is +installed) during the updating/downloading packages phase. If any bugs are found +for any of the packages to be upgraded, then an upgrade is not scheduled (and if +one already is, it is cancelled). -However... +To enable this functionality, set `CHECK_LISTBUGS=true` in `adu-download`. -It would be nice if it were possible somehow to hook `apt-listbugs` (if it's -installed) into the `adu-download` phase of things, and just not download -updates for packages which have bugs (or remove already-downloaded updates). -So, look into a way of doing that. +## TODO ### Notifying users about updates -- cgit v1.2.1