On Mon, 26 Mar 2012 00:28:24 +0200 Francesco Poli wrote:

> On Wed, 7 Mar 2012 22:31:18 +0100 Nicolas DEGAND wrote:
> 
> > Using the aptitude ncurses interface (invoking "aptitude") with my usual 
> > account. I type the root password when asked by aptitude. 
> [...]
> 
> Dear users,
> since a radical fix for this bug is taking longer than I was hoping,
> I would like to summarize how the issue may be worked around for the
> time being.
[...]

Dear users,
I have implemented a temporary work around for this bug.
It will be included in the next upload of apt-listbugs to Debian
unstable (hence I tagged this bug as "pending").

With this work around, apt-listbugs does no longer crash when
it cannot open /dev/tty: it now detects this situation, warns the
user, and switches to non-interactive failure mode.
An explanation has been included in the README.Debian file.

If you are curious about this modification, you can take a look
at it [1] on the public git repository.

[1] 
http://anonscm.debian.org/gitweb/?p=apt-listbugs/apt-listbugs.git;a=commitdiff;h=4e77151495e67094b17bf2b11ebc4d2337c691ea

Obviously, this work around is less than satisfactory...   :-(

However, a real fix for this issue requires a more radical change in
how apt-get, aptitude and other compatible package managers communicate
with the commands that are invoked through the Pre-Install-Pkgs hook.
For this reason, I filed a wishlist bug report against apt-listbugs [2]
and a wishlist bug report against apt [3], with the latter blocking the
former. If this feature is implemented in apt-get (and other package
managers), I will try to use it in apt-listbugs (so that it may work
without having to explicitly open /dev/tty).

[2] http://bugs.debian.org/671728
[3] http://bugs.debian.org/671726

I hope this may help.


P.S.: if any of you would like to be set as the submitter of
bug report #671728 [2], please don't hesitate to ask me.

-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpWlXSk76gh7.pgp
Description: PGP signature

Reply via email to