On Wed, 07 Mar 2012 20:17:19 +0100 Nicolas DEGAND wrote:

> Package: apt-listbugs
> Version: 0.1.6
> Severity: important

Hi Nicolas,
thanks for your bug report!

> 
> I try to upgrade packages with aptitude. When it calls apt-listbugs, it 
> crashes with the following messages:
> 
> Are you sure you want to install/upgrade the above packages? [Y/n/?/...] 
> /usr/lib/ruby/1.8/open-uri.rb:32:in `initialize': No such device or address - 
> /dev/tty (Errno::ENXIO)
>         from /usr/lib/ruby/1.8/open-uri.rb:32:in `open_uri_original_open'
>         from /usr/lib/ruby/1.8/open-uri.rb:32:in `open'
>         from /usr/share/apt-listbugs/apt-listbugs/logic.rb:1053:in `tty'
>         from /usr/share/apt-listbugs/apt-listbugs/logic.rb:1060:in `ask'
>         from /usr/share/apt-listbugs/apt-listbugs/logic.rb:350:in `view'
>         from /usr/sbin/apt-listbugs:415
> E: Le sous-processus /usr/sbin/apt-listbugs apt || exit 10 a renvoyé un code 
> d'erreur (10)
> E: Failure running script /usr/sbin/apt-listbugs apt || exit 10
> 
> Note that I am unable to answer to the question of the first line. Everything 
> is outputted in one wave.

How are you invoking aptitude?
Inside an su -c command as in

  su -c "aptitude safe-upgrade"

by chance?


-- 
 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: pgpmOVnVBJxOo.pgp
Description: PGP signature

Reply via email to