[Aptitude-devel] Bug#1074377: aptitude does not see some unstable packages, preventing the upgrade

Vincent Lefevre vincent at vinc17.net
Thu Jun 27 13:41:10 BST 2024


Package: aptitude
Version: 0.8.13-6
Severity: important

Contrary to apt, aptitude refuses to upgrade packages related to qt6.
So, to help aptitude, I've provided a command line with the packages
to upgrade and to remove (listed by apt). But this doesn't solve the
issue:

cventin:~> aptitude install gir1.2-poppler-0.18 libpoppler-glib8t64 libpoppler-qt6-3t64 libqt6multimedia6 libqt6sql6-sqlite libqt6wlshellintegration6 libwsutil15t64 qpdfview-pdf-poppler-plugin qt6-wayland libpoppler-cpp0t64 libpoppler-glib8t64-dbgsym libpoppler134 libqt6qml6 libqt6svg6 libwireshark-data poppler-utils qpdfview-ps-plugin wireshark libpoppler-dev libpoppler-private-dev libqt6core5compat6 libqt6qmlmodels6 libqt6waylandclient6 libwireshark17t64 qpdfview qt6-gtk-platformtheme wireshark-common libpoppler-glib-dev libpoppler-qt5-1t64 libqt6core6t64 libqt6quick6 libqt6waylandcompositor6 libwiretap14t64 qpdfview-djvu-plugin qt6-qpa-plugins libqt6dbus6t64- libqt6gui6t64- libqt6network6t64- libqt6opengl6t64- libqt6printsupport6t64- libqt6sql6t64- libqt6waylandeglclienthwintegration6- libqt6waylandeglcompositorhwintegration6- libqt6widgets6t64- -s
qt6-wayland is already installed at the requested version (6.4.2-5+b2)
libqt6waylandclient6 is already installed at the requested version (6.4.2-5+b2)
libqt6quick6 is already installed at the requested version (6.4.2+dfsg-4+b2)
libqt6waylandcompositor6 is already installed at the requested version (6.4.2-5+b2)
The following NEW packages will be installed:
  libqt6network6{ab} libqt6opengl6{ab} libqt6sql6{a} 
The following packages will be REMOVED:
  libqt6dbus6t64 libqt6gui6t64 libqt6network6t64 libqt6opengl6t64{u} 
  libqt6printsupport6t64 libqt6qmlmodels6{u} libqt6quick6{u} libqt6sql6t64 
  libqt6waylandclient6{u} libqt6waylandcompositor6{u} 
  libqt6waylandeglclienthwintegration6{u} 
  libqt6waylandeglcompositorhwintegration6{u} libqt6widgets6t64 
  qt6-gtk-platformtheme{u} qt6-qpa-plugins{u} qt6-wayland{u} 
The following packages will be upgraded:
  gir1.2-poppler-0.18 libpoppler-cpp0t64 libpoppler-dev libpoppler-glib-dev 
  libpoppler-glib8t64 libpoppler-glib8t64-dbgsym libpoppler-private-dev 
  libpoppler-qt5-1t64 libpoppler-qt6-3t64{b} libpoppler134 
  libqt6core5compat6 libqt6core6t64 libqt6multimedia6{b} libqt6qml6 
  libqt6sql6-sqlite libqt6svg6{b} libqt6wlshellintegration6{b} 
  libwireshark-data libwireshark17t64 libwiretap14t64 libwsutil15t64 
  poppler-utils qpdfview{b} qpdfview-djvu-plugin{b} 
  qpdfview-pdf-poppler-plugin{b} qpdfview-ps-plugin{b} wireshark{b} 
  wireshark-common wireshark-doc 
29 packages upgraded, 3 newly installed, 16 to remove and 113 not upgraded.
Need to get 47.0 MB of archives. After unpacking 32.0 MB will be freed.
The following packages have unmet dependencies:
[...]

The first 4 lines are wrong:

qt6-wayland is already installed at the requested version (6.4.2-5+b2)
libqt6waylandclient6 is already installed at the requested version (6.4.2-5+b2)
libqt6quick6 is already installed at the requested version (6.4.2+dfsg-4+b2)
libqt6waylandcompositor6 is already installed at the requested version (6.4.2-5+b2)

For instance, for qt6-wayland, I did not request 6.4.2-5+b2, but
unstable.

cventin:~> apt-show-versions -a qt6-wayland
qt6-wayland:amd64 6.4.2-5+b2 install ok installed
qt6-wayland:amd64 6.4.2-1 stable   ftp.debian.org
No stable-updates version
qt6-wayland:amd64 6.6.2-2 testing  ftp.debian.org
qt6-wayland:amd64 6.6.2-2 unstable ftp.debian.org
No experimental version
qt6-wayland:amd64/testing 6.4.2-5+b2 upgradeable to 6.6.2-2
qt6-wayland:i386 6.4.2-1 stable   ftp.debian.org
No stable-updates version
qt6-wayland:i386 6.6.2-2 testing  ftp.debian.org
qt6-wayland:i386 6.6.2-2 unstable ftp.debian.org
No experimental version
qt6-wayland:i386 not installed

and unstable is 6.6.2-2, not 6.4.2-5+b2!

However, after some proposed solutions with umet dependencies, there is an
acceptable one:

The following actions will resolve these dependencies:

      Install the following packages:                                           
1)      libqt6dbus6 [6.6.2+dfsg-8 (testing, unstable)]                          
2)      libqt6gui6 [6.6.2+dfsg-8 (testing, unstable)]                           
3)      libqt6printsupport6 [6.6.2+dfsg-8 (testing, unstable)]                  
4)      libqt6widgets6 [6.6.2+dfsg-8 (testing, unstable)]                       
5)      libxcb-cursor0 [0.1.4-1+b1 (testing, unstable)]                         

      Upgrade the following packages:                                           
6)      libqt6qmlmodels6 [6.4.2+dfsg-4+b2 (now) -> 6.6.2+dfsg-3 (testing, unstab
7)      libqt6quick6 [6.4.2+dfsg-4+b2 (now) -> 6.6.2+dfsg-3 (testing, unstable)]
8)      libqt6waylandclient6 [6.4.2-5+b2 (now) -> 6.6.2-2 (testing, unstable)]  
9)      libqt6waylandcompositor6 [6.4.2-5+b2 (now) -> 6.6.2-2 (testing, unstable
10)     qt6-gtk-platformtheme [6.4.2+dfsg-21.1+b1 (now) -> 6.6.2+dfsg-8 (testing
11)     qt6-qpa-plugins [6.4.2+dfsg-21.1+b1 (now) -> 6.6.2+dfsg-8 (testing, unst
12)     qt6-wayland [6.4.2-5+b2 (now) -> 6.6.2-2 (testing, unstable)]           

But it should have been the initial solution.

-- 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.5.20240427
  cwidget version: 0.5.18
  Apt version: 6.0.0

aptitude linkage:
	linux-vdso.so.1 (0x00007ffea9bd6000)
	libgtk3-nocsd.so.0 => /lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 (0x00007f3887812000)
	libapt-pkg.so.6.0 => /lib/x86_64-linux-gnu/libapt-pkg.so.6.0 (0x00007f3886e00000)
	libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f38877d8000)
	libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f38877a3000)
	libsigc-2.0.so.0 => /lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f388779a000)
	libcwidget.so.4 => /lib/x86_64-linux-gnu/libcwidget.so.4 (0x00007f3887696000)
	libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f3887088000)
	libboost_iostreams.so.1.83.0 => /lib/x86_64-linux-gnu/libboost_iostreams.so.1.83.0 (0x00007f388767c000)
	libxapian.so.30 => /lib/x86_64-linux-gnu/libxapian.so.30 (0x00007f3886a00000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3886600000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3886d1e000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f388764d000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f388641b000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3887648000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3887083000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f3887064000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f3887051000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f3886cee000)
	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f3886cc8000)
	libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f388693f000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f3886c84000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f3886334000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f38861ec000)
	libxxhash.so.0 => /lib/x86_64-linux-gnu/libxxhash.so.0 (0x00007f3886c71000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f388783f000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f3886c67000)
	libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f3886c5b000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f3886916000)

-- 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)
Foreign Architectures: i386

Kernel: Linux 6.8.12-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
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-6
ii  libapt-pkg6.0t64          2.9.5
ii  libboost-iostreams1.83.0  1.83.0-3
ii  libc6                     2.38-13
ii  libcwidget4               0.5.18-6+b1
ii  libgcc-s1                 14.1.0-2
ii  libncursesw6              6.5-2
ii  libsigc++-2.0-0v5         2.12.1-2
ii  libsqlite3-0              3.46.0-1
ii  libstdc++6                14.1.0-2
ii  libtinfo6                 6.5-2
ii  libxapian30               1.4.25-1

Versions of packages aptitude recommends:
ii  libdpkg-perl    1.22.6
ii  sensible-utils  0.0.24

Versions of packages aptitude suggests:
pn  apt-xapian-index                <none>
ii  aptitude-doc-en [aptitude-doc]  0.8.13-6
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)



More information about the Aptitude-devel mailing list