[Aptitude-devel] Bug#742708: aptitude confused about to-be-installed version

Ralf Jung post at ralfj.de
Wed Mar 26 14:37:45 UTC 2014


Package: aptitude
Version: 0.6.10-1
Severity: normal

Dear Maintainer,

when there are several versions of a package available, aptitude seems to be
confused when I ask it to install a specific version.

Steps to reproduce:
* I have testing, unstable and experimental in my sources (you can find the pinning below,
  as attached by reportbug).
* In aptitude, select "qtcreator" and scroll down to the list of versions
* Currently, I have 3.0.1+dfsg-1 from testing installed. Select 3.0.1+dfsg+exp-2
  from experimental and hit "+".
Actual behaviour:
* The line with the old version (from testing) becomes green, nothing else changes.
* Hitting "g" shows that it wants to install version 3.0.1+dfsg-1 of qtcreator again,
* Hitting "g" again does nothing.
* When aptitude comes back, it seems to notice that I selected version
  3.0.1+dfsg+exp-2 for installation, and correctly marks qtcreator as broken.
Alternatively:
* Immediately after selecting the version from experimental, hit "Q" to quit.
  Then start aptitude again. Now it correctly display qtcreator as broken.
Expected behaviour:
* aptitude should immediately mark 3.0.1+dfsg+exp-2 as to-be-installed version,
  and mark qtcreator broken.

Interestingly, this issue does not affect all packages. For example, qtcreator-doc works
fine, but network-manager is broken. The only pattern I found so far (as weird as this may
sound) is that ony packages where I have to scroll down (I always do that using PgDown)
to get to the list of versions. But that's probably just coincidence.

Kind regards
Ralf

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

aptitude version information:
aptitude 0.6.10 compiled at Feb 20 2014 17:26:22
Compiler: g++ 4.8.2
Compiled against:
  apt version 4.12.0
  NCurses version 5.9
  libsigc++ version: 2.2.11
  Ept support enabled.
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 5.9.20140118
  cwidget version: 0.5.17
  Apt version: 4.12.0

aptitude linkage:
	linux-vdso.so.1 (0x00007fff179fe000)
	libapt-pkg.so.4.12 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 (0x00007f70de790000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f70de55b000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f70de330000)
	libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f70de12b000)
	libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x00007f70dde24000)
	libept.so.1.aptpkg4.12 => /usr/lib/x86_64-linux-gnu/libept.so.1.aptpkg4.12 (0x00007f70ddbc7000)
	libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f70dd7c9000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f70dd5b1000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f70dd2f4000)
	libboost_iostreams.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.54.0 (0x00007f70dd0da000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f70dcebd000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f70dcbb8000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f70dc8b5000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f70dc69f000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f70dc2f5000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f70dc0f2000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f70dbeee000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f70dbcdd000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f70dbaba000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f70db8b4000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f70db6ac000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f70df129000)

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

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  aptitude-common           0.6.10-1
ii  libapt-pkg4.12            0.9.16.1
ii  libboost-iostreams1.54.0  1.54.0-5
ii  libc6                     2.18-4
ii  libcwidget3               0.5.17-1
ii  libept1.4.12              1.0.12
ii  libgcc1                   1:4.8.2-16
ii  libncursesw5              5.9+20140118-1
ii  libsigc++-2.0-0c2a        2.2.11-3
ii  libsqlite3-0              3.8.3.1-1
ii  libstdc++6                4.8.2-16
ii  libtinfo5                 5.9+20140118-1
ii  libxapian22               1.2.17-1
ii  zlib1g                    1:1.2.8.dfsg-1

Versions of packages aptitude recommends:
ii  apt-xapian-index                0.46
ii  aptitude-doc-en [aptitude-doc]  0.6.10-1
ii  libparse-debianchangelog-perl   1.2.0-1
ii  sensible-utils                  0.0.9

Versions of packages aptitude suggests:
pn  debtags  <none>
pn  tasksel  <none>

-- no debconf information



More information about the Aptitude-devel mailing list