Bug#1120504: apt: assertion failure with "apt --cli-version test"
Package: apt
Version: 3.1.12
Severity: normal
File: /usr/bin/apt
Running "apt --cli-version test" produces this assertion failure:
/usr/include/c++/15/optional:1186: constexpr _Tp& std::optional<_Tp>::operator*() & [with _Tp = long unsigned int]: Assertion 'this->_M_is_engaged()' failed.
Aborted apt --cli-version test
(I've never tried this command, which may not even be meaningful, using
earlier versions of apt.)
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.16.8+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (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 apt depends on:
ii adduser 3.153
ii base-passwd 3.6.8
ii debian-archive-keyring 2025.1
ii libapt-pkg7.0 3.1.12
ii libc6 2.41-12
ii libgcc-s1 15.2.0-7
ii libseccomp2 2.6.0-2
ii libssl3t64 3.5.4-1
ii libstdc++6 15.2.0-7
ii libsystemd0 258.1-2
ii sqv 1.3.0-3
Versions of packages apt recommends:
ii ca-certificates 20250419
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.8.13-8
ii dpkg-dev 1.22.21
ii gnupg 2.4.8-4
ii powermgmt-base 1.38
ii synaptic 0.91.7
-- no debconf information
Reply to: