[Aptitude-devel] Bug#1065554: aptitude: the TUI silently breaks a "Recommends"

Vincent Lefevre vincent at vinc17.net
Wed Mar 6 15:15:49 GMT 2024


Package: aptitude
Version: 0.8.13-5+b2
Severity: important

The aptitude TUI silently breaks a "Recommends":

If I hit "+" over libgtk-3-bin, aptitude first proposes

  --\ Keep the following packages at their current version:                     
    libgtk-3-bin                                      [3.24.41-1 (now, testing)]

and the next solution is:

  --\ Remove the following packages:                                            
    libatk-bridge2.0-0                    [2.50.0-1+b1 (now, testing, unstable)]
    libatk1.0-0                           [2.50.0-1+b1 (now, testing, unstable)]
    libatspi2.0-0                         [2.50.0-1+b1 (now, testing, unstable)]
    libgtk-3-0                              [3.24.41-1 (now, testing, unstable)]
  --\ Install the following packages:
    libatk-bridge2.0-0t64                                 [2.51.90-2 (unstable)]
    libatk1.0-0t64                                        [2.51.90-2 (unstable)]
    libatspi2.0-0t64                                      [2.51.90-2 (unstable)]
    libgtk-3-0t64                                       [3.24.41-1.1 (unstable)]
  --\ Upgrade the following packages:
    at-spi2-core                [2.50.0-1+b1 now, testing -> 2.51.90-2 unstable]

which I accept, but this doesn't solve all the breakages
(is this a bug?), because aptitude then proposes:

  --\ Upgrade the following packages:                                           
    libgtk-3-common   [3.24.41-1 now, testing, unstable -> 3.24.41-1.1 unstable]
  --\ Leave the following recommendations unresolved:
    libgtk-3-0t64 recommends libgtk-3-bin

and the next solution is:

  --\ Upgrade the following packages:                                           
    libgtk-3-bin       [3.24.41-1 now, testing -> 3.24.41-1.1~exp1 experimental]
    libgtk-3-common   [3.24.41-1 now, testing, unstable -> 3.24.41-1.1 unstable]

which I accept.

Then 'g' gives:

--\ Packages to be upgraded (3)                                                 
iuA  gtk-update-icon-cache               +1024 B   3.24.41-1      3.24.41-1.1   
iuA  libgtk-3-bin                        +1024 B   3.24.41-1      3.24.41-1.1~ex
iuA  libgtk-3-common                     +1024 B   3.24.41-1      3.24.41-1.1   
--\ Packages being automatically installed to satisfy dependencies (4)
piA  libatk-bridge2.0-0t64               +282 kB   <none>         2.51.90-2     
piA  libatk1.0-0t64                      +210 kB   <none>         2.51.90-2     
piA  libatspi2.0-0t64                    +268 kB   <none>         2.51.90-2     
piA  libgtk-3-0t64                       +10.1 MB  <none>         3.24.41-1.1   
--\ Packages being deleted due to unsatisfied dependencies (4)
idA  libatk-bridge2.0-0                  -283 kB   2.50.0-1+b1    2.50.0-1+b1   
idA  libatk1.0-0                         -207 kB   2.50.0-1+b1    2.50.0-1+b1   
idA  libatspi2.0-0                       -265 kB   2.50.0-1+b1    2.50.0-1+b1   
idA  libgtk-3-0                          -10.1 MB  3.24.41-1      3.24.41-1     
--\ Packages being removed because they are no longer used (1)
idA  at-spi2-core                        -218 kB   2.50.0-1+b1    2.51.90-2     

So, now, aptitude decides to remove at-spi2-core, while this package
was initially proposed as an upgrade! And "no longer used" is wrong
because when I hit [Enter] over libatspi2.0-0t64, I get

  --\ Recommends (1)
    --- at-spi2-core (= 2.51.90-2) (UNSATISFIED)

So aptitude silently leaves this "Recommends" unsatisfied.

I've attached /var/lib/dpkg/status and /var/lib/aptitude/pkgstates
(compressed).

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

aptitude version information:
aptitude 0.8.13
Compiler: g++ 13.2.0
Compiled against:
  apt version 6.0.0
  NCurses version 6.4
  libsigc++ version: 2.12.1
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.4.20240113
  cwidget version: 0.5.18
  Apt version: 6.0.0

aptitude linkage:
	linux-vdso.so.1 (0x00007ffe11bde000)
	libapt-pkg.so.6.0 => /lib/x86_64-linux-gnu/libapt-pkg.so.6.0 (0x00007f2713000000)
	libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f27139b8000)
	libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f2713983000)
	libsigc-2.0.so.0 => /lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f271397a000)
	libcwidget.so.4 => /lib/x86_64-linux-gnu/libcwidget.so.4 (0x00007f2713878000)
	libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f271328a000)
	libboost_iostreams.so.1.83.0 => /lib/x86_64-linux-gnu/libboost_iostreams.so.1.83.0 (0x00007f271385c000)
	libxapian.so.30 => /lib/x86_64-linux-gnu/libxapian.so.30 (0x00007f2712c00000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f2712800000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f2712f21000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f271325d000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f271261e000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f271323e000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f2713847000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f2712ee4000)
	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f2712ebe000)
	libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f2712b3f000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f2712e8b000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f271253c000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f27123f4000)
	libxxhash.so.0 => /lib/x86_64-linux-gnu/libxxhash.so.0 (0x00007f2712e78000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f2713a03000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f2712e6e000)
	libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f2712e62000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f2712b16000)

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

Kernel: Linux 6.6.15-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages aptitude depends on:
ii  aptitude-common           0.8.13-5
ii  libapt-pkg6.0t64          2.7.13+b1
ii  libboost-iostreams1.83.0  1.83.0-2.1
ii  libc6                     2.37-15.1
ii  libcwidget4               0.5.18-6+b1
ii  libgcc-s1                 14-20240303-1
ii  libncursesw6              6.4+20240113-1
ii  libsigc++-2.0-0v5         2.12.1-1
ii  libsqlite3-0              3.45.1-1
ii  libstdc++6                14-20240303-1
ii  libtinfo6                 6.4+20240113-1
ii  libxapian30               1.4.22-1+b1

Versions of packages aptitude recommends:
ii  libdpkg-perl    1.22.5
ii  sensible-utils  0.0.22

Versions of packages aptitude suggests:
pn  apt-xapian-index                <none>
ii  aptitude-doc-en [aptitude-doc]  0.8.13-5
pn  debtags                         <none>
ii  tasksel                         3.75

-- 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: status.xz
Type: application/octet-stream
Size: 423284 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/aptitude-devel/attachments/20240306/5a0f136f/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkgstates.xz
Type: application/octet-stream
Size: 720352 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/aptitude-devel/attachments/20240306/5a0f136f/attachment-0003.obj>


More information about the Aptitude-devel mailing list