[Aptitude-devel] Bug#1073273: Exception: ../../src/ui.cc:1549: void auto_fix_broken(): Assertion failed.

Drew Parsons dparsons at debian.org
Mon Jun 17 13:17:02 BST 2024


Package: aptitude
Version: 0.8.13-6
Followup-For: Bug #1073273

I'm getting this error too, so I wouldn't rush to close the bug. In
fact I'd consider bumping to serious since it's making aptitude nearly
unusable.

I can reproduce it in the scenario where I need to activate the
Resolve to resolve conflicts, requiring to go to e (Examine) or !
(Apply).

For instance at the moment to upgrade vtk9 from
9.1.0+really9.1.0+dfsg2-8 to 9.3.0+dfsg1-1, it needs to install
libvtk9.3 ("Actions: 1 install").  I select '!' to Apply the
suggestion (to install libvtk9.3), then press 'g' to start the upgrade.

At this point aptitude crashes with

Uncaught exception: ../../src/ui.cc:1549: void auto_fix_broken(): Assertion "resman->resolver_exists()" failed.





-- Package-specific info:
Terminal: xterm-256color
$DISPLAY is set.
which aptitude: /usr/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 (0x00007ffdf772d000)
	libapt-pkg.so.6.0 => /lib/x86_64-linux-gnu/libapt-pkg.so.6.0 (0x00007f6898800000)
	libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x00007f6898b75000)
	libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6 (0x00007f6898b40000)
	libsigc-2.0.so.0 => /lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f689904d000)
	libcwidget.so.4 => /lib/x86_64-linux-gnu/libcwidget.so.4 (0x00007f68986fe000)
	libsqlite3.so.0 => /lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f6898586000)
	libboost_iostreams.so.1.83.0 => /lib/x86_64-linux-gnu/libboost_iostreams.so.1.83.0 (0x00007f6898b26000)
	libxapian.so.30 => /lib/x86_64-linux-gnu/libxapian.so.30 (0x00007f6898200000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6897e00000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f68984a4000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6898af9000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6897c1b000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6898ada000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f6898ac7000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f6898a97000)
	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f6898a71000)
	libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f6898138000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f6898460000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f6897b34000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f68979ec000)
	libxxhash.so.0 => /lib/x86_64-linux-gnu/libxxhash.so.0 (0x00007f6898a5e000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f6899058000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f6898a54000)
	libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f6898454000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f689810f000)

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

Kernel: Linux 6.8.9-amd64 (SMP w/8 CPU threads; PREEMPT)
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-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-1
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-1
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.23

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

-- no debconf information



More information about the Aptitude-devel mailing list