[Aptitude-devel] Bug#822560: aptitude: Pressing "q" to quit after installation leaves a black terminal

Ralf Jung post at ralfj.de
Mon Apr 25 12:11:27 UTC 2016

Package: aptitude
Version: 0.8-1
Severity: normal

Dear Maintainer,

I am using Terminator as my terminal emulator. Since the latest update, aptitude
tells me I can press "q" to Quit directly after packages have been
installed. However, if I do that, the screen is left entirely blank and there is
no reaction to typing. Only if I press Ctrl-C, I can see the terminal again (and
some garbage that I have input in the mean time).

If, instead of pressing "q", I press Ctrl-C directly when I get the prompt that
asks me to hit Enter, then aptitude quits just fine.

I know little about the interaction of terminal programs and terminal emulators,
so I started by reporting the bug here.

Kind regards,

-- Package-specific info:
Terminal: xterm
$DISPLAY is set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.8
Compiler: g++ 5.3.1 20160409
Compiled against:
  apt version 5.0.0
  NCurses version 6.0
  libsigc++ version: 2.8.0
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.0.20160319
  cwidget version: 0.5.17
  Apt version: 5.0.0

aptitude linkage:
	linux-vdso.so.1 (0x00007fff21794000)
	libapt-pkg.so.5.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 (0x00007f1bb9631000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f1bb9401000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f1bb91d6000)
	libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f1bb8fcf000)
	libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x00007f1bb8cd2000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f1bb89d7000)
	libboost_iostreams.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.58.0 (0x00007f1bb87bd000)
	libboost_filesystem.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0 (0x00007f1bb85a4000)
	libboost_system.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0 (0x00007f1bb839f000)
	libxapian.so.22 => /usr/lib/x86_64-linux-gnu/libxapian.so.22 (0x00007f1bb7f9b000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1bb7d7e000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1bb7a02000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1bb7704000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1bb74ee000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1bb7149000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f1bb6f46000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1bb6d42000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f1bb6b2a000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1bb690f000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f1bb66ff000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f1bb64db000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f1bb62c9000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1bb60c0000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f1bb5ebb000)
	/lib64/ld-linux-x86-64.so.2 (0x000055827e674000)

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages aptitude depends on:
ii  aptitude-common            0.8-1
ii  libapt-pkg5.0              1.2.10
ii  libboost-filesystem1.58.0  1.58.0+dfsg-5+b1
ii  libboost-iostreams1.58.0   1.58.0+dfsg-5+b1
ii  libboost-system1.58.0      1.58.0+dfsg-5+b1
ii  libc6                      2.22-7
ii  libcwidget3v5              0.5.17-4+b1
ii  libgcc1                    1:5.3.1-14
ii  libncursesw5               6.0+20160319-1
ii  libsigc++-2.0-0v5          2.8.0-1
ii  libsqlite3-0               3.12.1-1
ii  libstdc++6                 5.3.1-14
ii  libtinfo5                  6.0+20160319-1
ii  libxapian22v5              1.2.23-1

Versions of packages aptitude recommends:
ii  libparse-debianchangelog-perl  1.2.0-8
ii  sensible-utils                 0.0.9

Versions of packages aptitude suggests:
ii  apt-xapian-index                0.47+nmu2
ii  aptitude-doc-en [aptitude-doc]  0.8-1
pn  debtags                         <none>
pn  tasksel                         <none>

-- no debconf information

More information about the Aptitude-devel mailing list