Hello,
in my understanding, this bug has another background.
I stumpled upon this, because I have apt-listbugs installed along with
cron-apt on plain Etch. Therefore I'm referring to apt-listbugs version
0.0.69. My intention is to have automated updates along with a listing of
the bugs in my mail or log file.
apt-listbugs *is* respecting the -y option in apt mode. The problem is, that
apt-listbugs installs etc/apt/apt.conf.d/10apt-listbugs with this content:
-->-->--
DPkg::Pre-Install-Pkgs {"if dpkg -s apt-listbugs | grep -q '^Status:
.* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 ||
exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to
continue.' 1>&2 ; read a < /dev/tty ); fi"};
--<--<--
There seems no way to overwrite this apt option by means of apt-get -c ...
or -o or something else. That is, whatever you do, any values you supply to
the DPkg::Pre-Install-Pkgs list, are appended to the list created from the
default configuration instead of replacing it (use apt-config to display).
So, the only thing you can do is removing the 10apt-listbugs file, replacing
it with something like
DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs -y apt"};
thus changing the main apt configuration. This makes my automated update
work, but now aptitude won't stop on bugs any more.
Maybe related is #288763.
Christian
--
Christian Knoke * * * http://cknoke.de
* * * * * * * * * Ceterum censeo Microsoft esse dividendum.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]