Hi!

I am one of the current co-maintainers of apt-listbugs.
I reviewed this bug log and I think that your desired behavior (that is
to say: letting apt-listbugs show bugs, without stopping the
installation/upgrade process) is achievable through a little
modification of your system configuration.

If you change your  /etc/apt/apt.conf.d/10apt-listbugs  into something
like:

  $ cat /etc/apt/apt.conf.d/10apt-listbugs
  // Check all packages whether they has critical bugs before they are 
installed.
  // If you don't like it, comment it out.
  DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs -y apt || exit 10";};
  DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
  DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2";

you will obtain the desired behavior.

Please note that your needs do not correspond to the typical use-case
of apt-listbugs, hence I am *not* willing to change the configuration
file shipped with the package: you will have to manually modify this
configuration file on your boxes...

Also note that this configuration could even be made conditional:

  $ cat /etc/apt/apt.conf.d/10apt-listbugs
  // Check all packages whether they has critical bugs before they are 
installed.
  // If you don't like it, comment it out.
  DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs $APT_LISTBUGS_OPTS apt || 
exit 10";};
  DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
  DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2";

This way, it will blindly go on installing packages *only* if an
APT_LISTBUGS_OPTS environment variable is set to "-y".
Otherwise, if APT_LISTBUGS_OPTS is unset (or set to a zero-length
string), apt-listbugs will behave as usual.

However, I think that such a conditional configuration is a bit risky,
since *anything* could be included (even by mistake) in the
APT_LISTBUGS_OPTS environment variable...


I hope this helps.

If you don't have objections, I am going to close this bug report.


-- 
 New location for my website! Update your bookmarks!
 http://www.inventati.org/frx
..................................................... Francesco Poli .
 GnuPG key fpr == C979 F34B 27CE 5CD8 DC12  31B5 78F4 279B DD6D FCF4

Attachment: pgpidDeMuQ606.pgp
Description: PGP signature

Reply via email to