[Aptitude-devel] Bug#1038448: aptitude: sometimes aptitude prefers foreign architectures when using safe-upgrade

Konomi konomikitten at gmail.com
Thu Oct 12 04:56:03 BST 2023


Package: aptitude
Version: 0.8.13-5
Followup-For: Bug #1038448
X-Debbugs-Cc: konomikitten at gmail.com

Dear Maintainer,

The following workaround seems to help:

/etc/apt/preferences

Package: linux-kbuild-*:i386
Pin: release o=Debian
Pin-Priority: -1

Before doing the workaround:

$ sudo aptitude safe-upgrade linux-image-amd64 linux-headers-amd64
Resolving dependencies...
The following NEW packages will be installed:
  linux-headers-6.5.0-2-amd64{a} linux-headers-6.5.0-2-common{a} linux-
image-6.5.0-2-amd64{a}
  linux-kbuild-6.5.0-2:i386{a}
The following packages will be upgraded:
  linux-headers-amd64 linux-image-amd64
2 packages upgraded, 4 newly installed, 0 to remove and 71 not upgraded.
Need to get 87.8 MB of archives. After unpacking 540 MB will be used.
Do you want to continue? [Y/n/?]

After doing the workaround:

$ sudo aptitude safe-upgrade linux-image-amd64 linux-headers-amd64
Resolving dependencies...
The following NEW packages will be installed:
  linux-headers-6.5.0-2-amd64{a} linux-headers-6.5.0-2-common{a} linux-
image-6.5.0-2-amd64{a}
  linux-kbuild-6.5.0-2{a}
The following packages will be upgraded:
  linux-headers-amd64 linux-image-amd64
2 packages upgraded, 4 newly installed, 0 to remove and 71 not upgraded.
Need to get 87.8 MB of archives. After unpacking 540 MB will be used.
Do you want to continue? [Y/n/?]


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

aptitude version information:
aptitude 0.8.13
Compiler: g++ 12.1.0
Compiled against:
  apt version 6.0.0
  NCurses version 6.3
  libsigc++ version: 2.10.8
  Gtk+ support disabled.
  Qt support disabled.

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

aptitude linkage:
	linux-vdso.so.1 (0x00007ffd4b1b6000)
	libapt-pkg.so.6.0 => /lib/x86_64-linux-gnu/libapt-pkg.so.6.0 (0x00007f10fb000000)
	libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f10fb3c7000)
	libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f10fb392000)
	libsigc-2.0.so.0 => /lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f10fb83a000)
	libcwidget.so.4 => /lib/x86_64-linux-gnu/libcwidget.so.4 (0x00007f10fb2a0000)
	libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f10fae93000)
	libboost_iostreams.so.1.74.0 => /lib/x86_64-linux-gnu/libboost_iostreams.so.1.74.0 (0x00007f10fb820000)
	libxapian.so.30 => /lib/x86_64-linux-gnu/libxapian.so.30 (0x00007f10fac00000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f10fb81b000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f10fa800000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f10fab21000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f10fb27c000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f10fa61e000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f10fb25d000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f10fb24a000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f10fae63000)
	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f10fb224000)
	libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f10faa60000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f10fae31000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f10fa53d000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f10fa3f6000)
	libxxhash.so.0 => /lib/x86_64-linux-gnu/libxxhash.so.0 (0x00007f10fa3e3000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f10fb864000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f10faa56000)
	libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f10fa3d7000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f10fa3af000)

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-2-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
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.0             2.7.6
ii  libboost-iostreams1.74.0  1.74.0+ds1-23
ii  libc6                     2.37-12
ii  libcwidget4               0.5.18-6
ii  libgcc-s1                 13.2.0-5
ii  libncursesw6              6.4+20230625-2
ii  libsigc++-2.0-0v5         2.12.0-1
ii  libsqlite3-0              3.43.2-1
ii  libstdc++6                13.2.0-5
ii  libtinfo6                 6.4+20230625-2
ii  libxapian30               1.4.22-1

Versions of packages aptitude recommends:
ii  libdpkg-perl    1.22.0
ii  sensible-utils  0.0.20

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.73

-- no debconf information



More information about the Aptitude-devel mailing list