Package: aptitude
Version: 0.8.13-8.1+b1
Followup-For: Bug #1073273

This error is currently happening again.
VTK is not involved in the current set of upgrades.

1) open aptitude
2) press 'U' to select all available updates to upgrade
2) press 'g' to proceed with upgrade

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

If I instead run `apt-get upgrade` and `apt-get dist-upgrade`, and
proceed with those upgrades, then after the upgrade, apt-get reports
(with both upgrade and dist-upgrade) 

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libalgorithm-diff-xs-perl libapt-pkg-perl libautovivification-perl 
libb-hooks-op-check-perl libberkeleydb-perl libbit-vector-perl 
libcairo-gobject-perl libcairo-perl libclass-c3-xs-perl
  libclass-xsaccessor-perl libclone-perl libcommon-sense-perl 
libcpanel-json-xs-perl libcrypt-urandom-perl libdata-messagepack-perl 
libdate-calc-xs-perl libdate-simple-perl libdatetime-perl
  libdevel-callchecker-perl libdevel-caller-perl libdevel-lexalias-perl 
libdevel-size-perl libemail-address-xs-perl libencode-eucjpascii-perl 
libencode-eucjpms-perl libencode-hanextra-perl libencode-jis2k-perl
  libencode-perl libfcgi-perl libfile-fcntllock-perl libfile-libmagic-perl 
libfilesys-df-perl libglib-object-introspection-perl libglib-perl 
libhtml-parser-perl libimage-magick-q16-perl libindirect-perl
  libintl-xs-perl libio-compress-brotli-perl libio-pty-perl 
libipc-shareable-perl libjson-xs-perl liblist-moreutils-xs-perl 
liblist-someutils-xs-perl liblocale-gettext-perl libmatch-simple-xs-perl 
libmouse-perl
  libnet-dbus-perl libnet-ssleay-perl libnetaddr-ip-perl libobject-pad-perl 
libpackage-stash-xs-perl libpadwalker-perl libparams-classify-perl 
libparams-someutil-perl libparams-validate-perl libperlio-gzip-perl
  libperlio-utf8-strict-perl libproc-processtable-perl libref-util-xs-perl 
libsereal-decoder-perl libsereal-encoder-perl libsnmp45 libsocket6-perl 
libsort-key-perl libstring-crc32-perl libsub-identify-perl
  libsub-name-perl libsyntax-keyword-try-perl libsys-cpuaffinity-perl 
libtemplate-perl libterm-readkey-perl libtext-bibtex-perl 
libtext-charwidth-perl libtext-csv-xs-perl libtext-iconv-perl
  libtext-levenshteinxs-perl libtext-markdown-discount-perl libtext-xslate-perl 
libtime-moment-perl libtype-tiny-xs-perl libunicode-linebreak-perl 
libunicode-map-perl libunicode-utf8-perl libuuid-perl
  libvariable-magic-perl libwant-perl libxml-libxml-perl libxml-libxslt-perl 
libxml-parser-perl libxs-parse-keyword-perl libxs-parse-sublike-perl 
libxstring-perl libyaml-libyaml-perl perl perl-base perl-tk
  texinfo-lib
0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.


At this point dist-upgrade is done for now (deferring packages which
are "kept back"), but aptitude is still crashing.

It looks like the aptitude error has something to do with these
packages that are in state 'kept back'.

At the moment this would be the current Perl 5.44 transition
[https://lists.debian.org/debian-perl/2026/11/msg00005.html]
which is evidently not yet complete (my local perl remains at 5.42.3-1).

Can aptitude be patched to match the stability that apt-get (and apt)
have in this kept-back state?



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

aptitude version information:
aptitude 0.8.13
Compiler: g++ 16.2.0
Compiled against:
  apt version 7.0.0
  NCurses version 6.6
  libsigc++ version: 2.12.1
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.6.20260608
  cwidget version: 0.5.18
  Apt version: 7.0.0

aptitude linkage:
        linux-vdso.so.1 (0x00007fb108699000)
        libapt-pkg.so.7.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.7.0 
(0x00007fb107c00000)
        libncursesw.so.6 => /usr/lib/x86_64-linux-gnu/libncursesw.so.6 
(0x00007fb108611000)
        libtinfo.so.6 => /usr/lib/x86_64-linux-gnu/libtinfo.so.6 
(0x00007fb1085db000)
        libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 
(0x00007fb1085d3000)
        libcwidget.so.4 => /usr/lib/x86_64-linux-gnu/libcwidget.so.4 
(0x00007fb1084cb000)
        libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 
(0x00007fb107a5b000)
        libboost_iostreams.so.1.92.0 => 
/usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.92.0 (0x00007fb107fe8000)
        libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30 
(0x00007fb107600000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x00007fb107200000)
        libm.so.6 => /usr/lib/x86_64-linux-gnu/libm.so.6 (0x00007fb107945000)
        libgcc_s.so.1 => /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x00007fb107fba000)
        libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007fb10700a000)
        libz.so.1 => /usr/lib/x86_64-linux-gnu/libz.so.1 (0x00007fb107f9a000)
        libbz2.so.1.0 => /usr/lib/x86_64-linux-gnu/libbz2.so.1.0 
(0x00007fb107f86000)
        liblzma.so.5 => /usr/lib/x86_64-linux-gnu/liblzma.so.5 
(0x00007fb107f53000)
        liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 
(0x00007fb107f27000)
        libzstd.so.1 => /usr/lib/x86_64-linux-gnu/libzstd.so.1 
(0x00007fb107536000)
        libudev.so.1 => /usr/lib/x86_64-linux-gnu/libudev.so.1 
(0x00007fb1074e8000)
        libsystemd.so.0 => /usr/lib/x86_64-linux-gnu/libsystemd.so.0 
(0x00007fb106ec9000)
        libcrypto.so.3 => /usr/lib/x86_64-linux-gnu/libcrypto.so.3 
(0x00007fb106800000)
        libxxhash.so.0 => /usr/lib/x86_64-linux-gnu/libxxhash.so.0 
(0x00007fb107f13000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb10869b000)
        libuuid.so.1 => /usr/lib/x86_64-linux-gnu/libuuid.so.1 
(0x00007fb1084bb000)

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.3.3+deb14-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-8.1
ii  libapt-pkg7.0             3.3.8
ii  libboost-iostreams1.92.0  1.92.0-4+b1
ii  libc6                     2.43-7
ii  libcwidget4               0.5.18-6+b3
ii  libgcc-s1                 16.2.0-4
ii  libncursesw6              6.6+20260608-2
ii  libsigc++-2.0-0v5         2.12.1-4+b1
ii  libsqlite3-0              3.54.1-2
ii  libstdc++6                16.2.0-4
ii  libtinfo6                 6.6+20260608-2
ii  libxapian30               1.4.32-1

Versions of packages aptitude recommends:
ii  libdpkg-perl    1.23.12
ii  sensible-utils  0.0.26

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

-- no debconf information

Reply via email to