[Aptitude-devel] Bug#940819: aptitude: meaningless message "it is being removed because..." / issue with ORed dependency

Vincent Lefevre vincent at vinc17.net
Fri Sep 20 10:48:53 BST 2019

Package: aptitude
Version: 0.8.12-1
Severity: normal

During an upgrade, a package is automatically marked as to be removed
and the corresponding reason is meaningless:

xserver-xorg-video-tdfx (remove, 1:1.4.7-1+b1) was installed automatically; it ▒
is being removed because all of the packages which depend upon it are being    ▒
removed:                                                                       ▒

but there are no removed packages (no packages are listed).


zira:~> aptitude why xserver-xorg-video-tdfx
i   xserver-xorg            Depends  xserver-xorg-video-all | xorg-driver-video
i A xserver-xorg-video-tdfx Provides xorg-driver-video                         

and xserver-xorg-video-all is installed. I don't think that this
output is correct either because as xserver-xorg-video-all is installed,
the xorg-driver-video dependency should be ignored. Thus this is not the
reason why xserver-xorg-video-tdfx is installed.

I've attached the compressed pkgstates file.

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

aptitude version information:
aptitude 0.8.12
Compiler: g++ 9.2.1 20190821
Compiled against:
  apt version 5.0.2
  NCurses version 6.1
  libsigc++ version: 2.10.1
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.1.20190803
  cwidget version: 0.5.18
  Apt version: 5.0.2

aptitude linkage:
	linux-vdso.so.1 (0x00007ffeafb38000)
	libgtk3-nocsd.so.0 => /usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 (0x00007f3429263000)
	libapt-pkg.so.5.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 (0x00007f3429080000)
	libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f3429045000)
	libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f3429015000)
	libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f342900c000)
	libcwidget.so.4 => /usr/lib/x86_64-linux-gnu/libcwidget.so.4 (0x00007f3428f06000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f3428de0000)
	libboost_iostreams.so.1.67.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.67.0 (0x00007f3428dc2000)
	libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30 (0x00007f3428ba9000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3428b88000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f34289af000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f342886a000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f342884e000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f342868e000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3428689000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f3428671000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f3428654000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f3428641000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f3428616000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f34285f7000)
	libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f342854f000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f3428524000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f342847d000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f34296d9000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f3428470000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f3428467000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f342834a000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f3428327000)

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

Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages aptitude depends on:
ii  aptitude-common           0.8.12-1
ii  libapt-pkg5.0             1.8.4
ii  libboost-iostreams1.67.0  1.67.0-13
ii  libc6                     2.29-1
ii  libcwidget4               0.5.18-5
ii  libgcc1                   1:9.2.1-8
ii  libncursesw6              6.1+20190803-1
ii  libsigc++-2.0-0v5         2.10.1-2
ii  libsqlite3-0              3.29.0-2
ii  libstdc++6                9.2.1-8
ii  libtinfo6                 6.1+20190803-1
ii  libxapian30               1.4.12-1

Versions of packages aptitude recommends:
ii  libparse-debianchangelog-perl  1.2.0-13
ii  sensible-utils                 0.0.12

Versions of packages aptitude suggests:
ii  apt-xapian-index                0.50
ii  aptitude-doc-en [aptitude-doc]  0.8.12-1
pn  debtags                         <none>
ii  tasksel                         3.55

-- no debconf information

Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkgstates.xz
Type: application/octet-stream
Size: 578588 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/aptitude-devel/attachments/20190920/c5448ac6/attachment-0001.obj>

More information about the Aptitude-devel mailing list