Package: libapt-pkg7.0
Version: 2.9.30
Using the attached Packages file, apt-get crashes:
$ sudo apt-get --with-source /tmp/tmp.VtKyaCzPyr/Packages upgrade
/usr/include/c++/14/bits/stl_vector.h:1130: std::vector<_Tp,
_Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with
_Tp = pkgCacheGenerator::VersionExtra; _Alloc =
std::allocator<pkgCacheGenerator::VersionExtra>; reference =
pkgCacheGenerator::VersionExtra&; size_type = long unsigned int]:
Assertion '__n < this->size()' failed.
Afgebroken
The Packages file is one package from what
https://github.com/dseomn/dotfiles/blob/public/.local/lib/system-packages/update-debian
builds. The package source is in
<https://github.com/dseomn/dotfiles/tree/public/.config/system-packages/debian/dseomn-meta/debian>.
I can provide the actual built package if it would be useful. It's
definitely possible that I'm doing something wrong with how I build the
packages, but even if that's true, it would be nice to get a useful
error message from apt instead of a crash.Package: dseomn-standard
Source: dseomn-meta
Version: 20250221.1
Architecture: all
Maintainer: David Mandelberg <da...@mandelberg.org>
Installed-Size: 19
Depends: bash, git, less, man-db, tmux, vim-nox
Recommends: aptitude, bash-completion, bind9-host | host, command-not-found,
curl, diffutils, dnsutils, file, ncurses-term, netcat-openbsd, patch, plocate |
mlocate | locate, python3, rsync
Filename: ./dseomn-standard_20250221.1_all.deb
Size: 5076
MD5sum: f897c35686dff97b28eab0ded6a482ba
SHA1: 1ed5abf51878d3991b71a6bfecd559c15e525c82
SHA256: 5d25565d4b358068d332ed710d5a5281f5ea3c5b5b90f7448a447121cf47a171
Section: metapackages
Priority: optional
Description: dseomn-standard