[Aptitude-devel] Bug#799532: aptitude: typing Ctrl-L during an upgrade puts aptitude in background

Vincent Lefevre vincent at vinc17.net
Sat Sep 19 22:52:26 UTC 2015


Package: aptitude
Version: 0.7.1-1
Severity: important

During an upgrade from the aptitude UI, I got:

Configuration file '/etc/lightdm/lightdm.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** lightdm.conf (Y/I/N/O/D/Z) [default=N] ? 

I typed 'D', then in the pager, I typed Ctrl-L to refresh.
But this put aptitude and its descendents in background, and
I got the shell prompt.

zira:~> pstree -ap 29204
bash,29204
  └─aptitude,29206
      ├─(dpkg,29277)
      ├─dpkg,30424 --status-fd 76 --configure geoclue-2.0:amd64 ...
      │   └─sh,30438 -c...
      │       └─less,30440 -Lis
      └─{aptitude},29491

I had to kill the processes manually, then do "dpkg --configure -a".

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

aptitude version information:
aptitude 0.7.1 compiled at Sep  5 2015 23:44:20
Compiler: g++ 5.2.1 20150903
Compiled against:
  apt version 4.16.0
  NCurses version 6.0
  libsigc++ version: 2.4.1
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.0.20150810
  cwidget version: 0.5.17
  Apt version: 4.16.0

aptitude linkage:
	linux-vdso.so.1 (0x00007ffc9f394000)
	libapt-pkg.so.4.16 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.16 (0x00007ffa83481000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007ffa83251000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007ffa83026000)
	libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007ffa82e20000)
	libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x00007ffa82b21000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007ffa82853000)
	libboost_iostreams.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.58.0 (0x00007ffa8263a000)
	libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007ffa82238000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ffa8201a000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ffa81c9f000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ffa8199e000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ffa81787000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffa813de000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007ffa811db000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ffa80fd6000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ffa80dbb000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007ffa80bab000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007ffa80987000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ffa8077f000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007ffa80579000)
	/lib64/ld-linux-x86-64.so.2 (0x000055b3a45d0000)

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (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.7.1-1
ii  libapt-pkg4.16            1.0.10.2
ii  libboost-iostreams1.58.0  1.58.0+dfsg-3
ii  libc6                     2.19-20
ii  libcwidget3v5             0.5.17-4
ii  libgcc1                   1:5.2.1-17
ii  libncursesw5              6.0+20150810-1
ii  libsigc++-2.0-0v5         2.4.1-2
ii  libsqlite3-0              3.8.11.1-1
ii  libstdc++6                5.2.1-17
ii  libtinfo5                 6.0+20150810-1
ii  libxapian22v5             1.2.21-1.2

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc]  0.7.1-1
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
pn  debtags           <none>
ii  tasksel           3.33

-- no debconf information



More information about the Aptitude-devel mailing list