[Aptitude-devel] Bug#979387: aptitude: incorrect dependency resolution in case of multiple architectures

Vincent Lefevre vincent at vinc17.net
Wed Jan 6 00:50:48 GMT 2021


Package: aptitude
Version: 0.8.13-2+b1
Severity: normal

I have the following issue:

cventin:~> aptitude install -s libc6-dbg
The following packages will be upgraded: 
  libc6 libc6:i386 libc6-dbg libc6-dbg:i386 
4 packages upgraded, 0 newly installed, 0 to remove and 538 not upgraded.
Need to get 24.6 MB of archives. After unpacking 6144 B will be freed.
The following packages have unmet dependencies:
 libc6-i386 : Depends: libc6 (= 2.31-6) but 2.31-9 is to be installed
 libc6-dev : Depends: libc6 (= 2.31-6) but 2.31-9 is to be installed
 libc6-dev:i386 : Depends: libc6:i386 (= 2.31-6) but 2.31-9 is to be installed
 libc6-x32 : Depends: libc6 (= 2.31-6) but 2.31-9 is to be installed
The following actions will resolve these dependencies:

     Install the following packages:                              
1)     libc-devtools:i386 [2.31-9 (unstable)]                     

     Upgrade the following packages:                              
2)     libc-dev-bin [2.31-6 (now, testing) -> 2.31-9 (unstable)]  
3)     libc6-dev [2.31-6 (now, testing) -> 2.31-9 (unstable)]     
4)     libc6-dev:i386 [2.31-6 (now, testing) -> 2.31-9 (unstable)]
5)     libc6-dev-i386 [2.31-6 (now, testing) -> 2.31-9 (unstable)]
6)     libc6-dev-x32 [2.31-6 (now, testing) -> 2.31-9 (unstable)] 
7)     libc6-i386 [2.31-6 (now, testing) -> 2.31-9 (unstable)]    
8)     libc6-x32 [2.31-6 (now, testing) -> 2.31-9 (unstable)]     

libc-devtools:i386 is proposed instead of libc-devtools.

If I do that via the TUI, I get:

libc-devtools:i386 (install, 2.31-9) will be automatically installed to satisfy the following dependencies:

  * libc-dev-bin (upgrade, 2.31-6 -> 2.31-9) recommends libc-devtools (> 2.31) (provided by libc-devtools:i386 2.31-9)

If I add libc-dev-bin to the command line, the right architecture
is proposed:

cventin:~> aptitude install -s libc-dev-bin libc6-dbg
The following NEW packages will be installed:
  libc-devtools{a} 
The following packages will be upgraded:
  libc-dev-bin libc6 libc6:i386 libc6-dbg libc6-dbg:i386 
5 packages upgraded, 1 newly installed, 0 to remove and 537 not upgraded.
Need to get 25.1 MB of archives. After unpacking 280 kB will be used.
The following packages have unmet dependencies:
 libc6-i386 : Depends: libc6 (= 2.31-6) but 2.31-9 is to be installed
 libc6-dev : Depends: libc6 (= 2.31-6) but 2.31-9 is to be installed
             Depends: libc-dev-bin (= 2.31-6) but 2.31-9 is to be installed
 libc6-dev:i386 : Depends: libc6:i386 (= 2.31-6) but 2.31-9 is to be installed
                  Depends: libc-dev-bin:i386 (= 2.31-6) but it is not going to be installed
 libc6-x32 : Depends: libc6 (= 2.31-6) but 2.31-9 is to be installed
The following actions will resolve these dependencies:

     Upgrade the following packages:                              
1)     libc6-dev [2.31-6 (now, testing) -> 2.31-9 (unstable)]     
2)     libc6-dev:i386 [2.31-6 (now, testing) -> 2.31-9 (unstable)]
3)     libc6-dev-i386 [2.31-6 (now, testing) -> 2.31-9 (unstable)]
4)     libc6-dev-x32 [2.31-6 (now, testing) -> 2.31-9 (unstable)] 
5)     libc6-i386 [2.31-6 (now, testing) -> 2.31-9 (unstable)]    
6)     libc6-x32 [2.31-6 (now, testing) -> 2.31-9 (unstable)]     

I've attached the compressed pkgstates.xz file.

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

aptitude version information:
aptitude 0.8.13
Compiler: g++ 10.2.1 20201207
Compiled against:
  apt version 6.0.0
  NCurses version 6.2
  libsigc++ version: 2.10.4
  Gtk+ support disabled.
  Qt support disabled.

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

aptitude linkage:
	linux-vdso.so.1 (0x00007ffefabc9000)
	libgtk3-nocsd.so.0 => /usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0 (0x00007f7ae1a06000)
	libapt-pkg.so.6.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.6.0 (0x00007f7ae1820000)
	libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f7ae17e5000)
	libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f7ae17b6000)
	libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f7ae17ad000)
	libcwidget.so.4 => /usr/lib/x86_64-linux-gnu/libcwidget.so.4 (0x00007f7ae16a7000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f7ae1562000)
	libboost_iostreams.so.1.74.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.74.0 (0x00007f7ae1549000)
	libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30 (0x00007f7ae1327000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7ae1305000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f7ae1138000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7ae0ff4000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7ae0fd8000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7ae0e13000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7ae0e0d000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f7ae0df3000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f7ae0dd6000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f7ae0dc3000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f7ae0d99000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f7ae0d76000)
	libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f7ae0c9b000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f7ae0c73000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f7ae0bbe000)
	libgcrypt.so.20 => /usr/lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f7ae0a9e000)
	libxxhash.so.0 => /usr/lib/x86_64-linux-gnu/libxxhash.so.0 (0x00007f7ae0a90000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f7ae1e4e000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f7ae0a85000)
	libuuid.so.1 => /usr/lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f7ae0a7c000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f7ae0a56000)

-- 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.10.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.13-2
ii  libapt-pkg6.0             2.1.15
ii  libboost-iostreams1.74.0  1.74.0-6
ii  libc6                     2.31-7
ii  libcwidget4               0.5.18-5
ii  libgcc-s1                 10.2.1-3
ii  libncursesw6              6.2+20201114-2
ii  libsigc++-2.0-0v5         2.10.4-2
ii  libsqlite3-0              3.34.0-1
ii  libstdc++6                10.2.1-3
ii  libtinfo6                 6.2+20201114-2
ii  libxapian30               1.4.17-1

Versions of packages aptitude recommends:
ii  libdpkg-perl    1.20.5
ii  sensible-utils  0.0.12+nmu1

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

-- 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: 644832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/aptitude-devel/attachments/20210106/3d0b3b9e/attachment-0001.obj>


More information about the Aptitude-devel mailing list