[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1098702: marked as done (apt-get --with-source crashes with Assertion '__n < this->size()' failed.)



Your message dated Fri, 28 Feb 2025 18:34:19 +0000
with message-id <E1to5Bj-000Eba-4G@fasolo.debian.org>
and subject line Bug#1098702: fixed in apt 2.9.31
has caused the Debian Bug report #1098702,
regarding apt-get --with-source crashes with Assertion '__n < this->size()' failed.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1098702: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098702
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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 <david@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

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 2.9.31
Done: Julian Andres Klode <jak@debian.org>

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1098702@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 28 Feb 2025 17:49:31 +0100
Source: apt
Architecture: source
Version: 2.9.31
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Closes: 1095976 1096322 1098456 1098702 1098937 1099118
Changes:
 apt (2.9.31) unstable; urgency=medium
 .
   [ Julian Andres Klode ]
   * edsp: Use buffered writes for EDSP dumps
   * strutl: Add missing #include <cstdint> [gcc 15] (Closes: #1096322)
   * refactor: Deduplicate and Move SectionInSubTree to Configuration
   * solver3: Fix test-apt-move-and-forget-manual-sections
   * solver3: Fix error stack handling
   * test: Improve output cleaning for solver progress
   * Fix crash in VersionExtra using --with-source etc (Closes: #1098702)
   * test-apt-ftparchive-cachedb: Avoid race condition in test case
 .
   [ Miroslav Kure ]
   * Czech program translation update (Closes: #1095976)
 .
   [ Helge Kreutzmann ]
   * German program translation update (Closes: #1098456)
   * German manpage translation update (Closes: #1099118)
 .
   [ David Kalnischkies ]
   * apt-ftparchive: Do not output locale dependent dsc file size
 .
   [ Алексей Шилин ]
   * Russian translation update (Closes: #1098937)
Checksums-Sha1:
 a0da2cfeb28b42afe85eb8e1ddd253845f9ead9c 3162 apt_2.9.31.dsc
 18aadc8e3b679201e8f7f56afcfa594762255fda 2406476 apt_2.9.31.tar.xz
 6bd4a60cba405cf076b7ecdb3b31f504b8053200 7515 apt_2.9.31_source.buildinfo
Checksums-Sha256:
 b037332abd7907331e750831d497169c27e50e39509f9f2d16f2318dedc9a320 3162 apt_2.9.31.dsc
 af4e96349c9c7ad36bad3729dcf330617522c8b53774a59e5cc60ded25c6c27a 2406476 apt_2.9.31.tar.xz
 f4ac298dff53e4af5d9972a57585ae16f3f09767b032748cee7ada3274ae7c4a 7515 apt_2.9.31_source.buildinfo
Files:
 e667581e4ddba47c648a94fd54ef9338 3162 admin required apt_2.9.31.dsc
 dc9b0ca102b6fd573573a5e2d1e48080 2406476 admin required apt_2.9.31.tar.xz
 163977e9864853d0026808a722e9e6db 7515 admin required apt_2.9.31_source.buildinfo


-----BEGIN PGP SIGNATURE-----

wsG7BAEBCgBvBYJnwez/CRBvpFjdHbA/cUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmcyXZj5zuV87OsDIqnhmHyKI9VckznMrBxL/P36+kwz
wxYhBE+1iKhMLd55p0x3h2+kWN0dsD9xAAC1BA/9H/rD5Xiwkqe6BryCsPUNWxVF
TQmvLkJH3jGyc8EtAyI5JPCamElzugT8WZee1ZlphT72Bu419pOCmWuNITqLUCHL
181SBWZdwsNqiohE7C8rhyvcf8qzu7SWIaXisy9YJiREVOybvr/rnd5d38kdG3EQ
T4k6DK2hChbkCLUm15oY0qgGu5irh6r6E8NMkbioDQKmNBWuz5UeAc9NFL9xvqZG
raeSMFs5mT8KPS9OThhuZTBV6yAfySsHhdKgq0S59b7l00RyZJkfG/2zp07ZAjzO
TT4gqIBMrIWFyJOhSJj3fPVf3bJ09NmhYP3XLvZECuBzHZ4UlAwgACZAQDKPYmw+
DAo7ATgNL3WgLwwyPZKnmsPZPPauAcuiwk0dC5aSINZxXVKge5B+AfZTcx3qxjWp
sFAChYs2V/1ElkwAAkYqLj3qToqZsjr8hTSsD63nI7jYWC7tMYx4NRWFZhnM55L2
adKyNOqjBKpmjKcGABfNUESKhrshr6eoPDW5j8JFwxMBkmI/ZQc9LB2u1pBKecMI
2UhEJgFNyU+lWCWNEM/qjj2OYupzDi2M7ObM56bC4hJz+ra9osIX8BckKFaMqx+q
G3XxVINpEtAURUE8c53VQ8l4eoGRpKT75d4jj5smorpxFtNgkQE5pOU9RrnAocKx
62MUFhw7/DEiJhYgE8U=
=bG6P
-----END PGP SIGNATURE-----

Attachment: pgpDAKLTCUlIW.pgp
Description: PGP signature


--- End Message ---

Reply to: