I also see this same error. However, I login as root and then execute wajig in
interactive mode. I use the update command followed by distupgrade. I'm not
sure if there are any "su -c" commands run since I am already root. If there
are any bugs to be reported by apt-listbugs I get the following errors:
/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: Sub-process /usr/sbin/apt-listbugs apt || exit 10 returned an error code (10)
E: Failure running script /usr/sbin/apt-listbugs apt || exit 10
I usually get around this by putting the offending package on hold or just
uninstall apt-listbugs. I am running debian/testing.
policy apt-listbugs
apt-listbugs:
Installed: 0.1.6
Candidate: 0.1.6
Version table:
*** 0.1.6 0
500 http://http.us.debian.org/debian/ testing/main i386 Packages
100 /var/lib/dpkg/status
--
*...Bob*