Your message dated Mon, 14 Dec 2015 16:24:19 +0000 with message-id <[email protected]> and subject line Bug#807523: fixed in apt 1.1.5 has caused the Debian Bug report #807523, regarding apt: enum of VerPriority and results from pkgCache::Priority() are inconsistent 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 [email protected] immediately.) -- 807523: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807523 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt Version: 1.1.4 Severity: normal Control: affects -1 + aptitude Hi, (Sorry to add to the counter of open bugs... but there's a bug in aptitude as a result of this). In pkgcache.h and .cc: - pkgCache::Priority(): const char *Mapping[] = {0,_("important"),_("required"),_("standard"), _("optional"),_("extra")}; - struct State { ... enum VerPriority {Required=1,Important=2,Standard=3,Optional=4,Extra=5}; Note that the order of Required and Important is swapped, so it's not possible to convert/cast between them, and e.g. printing pkgCache::Priority(VerIterator->Priority) yields the wrong result with Required/Important. As a result of this: $ aptitude -F '%P %R %p#' search ~n^apt$ required Imp apt required Imp apt:i386 And the following is obviously a very minor problem, but I found about it while grepping so I thought that I would include this in the case that you want to change it: a comment in apt-pkg/orderlist.cc is also "inconsistent" with the order of the enum: apt-pkg/algorithms.cc: // Required Important Standard Optional Extra apt-pkg/orderlist.cc: // Important Required Standard Optional Extra Cheers. -- Manuel A. Fernandez Montecelo <[email protected]>
--- End Message ---
--- Begin Message ---Source: apt Source-Version: 1.1.5 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Julian Andres Klode <[email protected]> (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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 14 Dec 2015 16:56:11 +0100 Source: apt Binary: apt libapt-pkg5.0 libapt-inst2.0 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https Architecture: source Version: 1.1.5 Distribution: unstable Urgency: medium Maintainer: APT Development Team <[email protected]> Changed-By: Julian Andres Klode <[email protected]> Description: apt - commandline package manager apt-doc - documentation for APT apt-transport-https - https download transport for APT apt-utils - package management related utility programs libapt-inst2.0 - deb package format runtime library libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst libapt-pkg-doc - documentation for APT development libapt-pkg5.0 - package management runtime library Closes: 806459 807012 807373 807413 807477 807523 807870 Changes: apt (1.1.5) unstable; urgency=medium . [ Julian Andres Klode ] * Do not swap required and important in pkgCache::Priority() Thanks to Manuel A. Fernandez Montecelo for discovering this (Closes: #807523) * Convert package names from Packages files to lower case (Closes: #807012) * test framework: Correctly generate new paths in noopchroot * debian/apt.auto-removal.sh: Adjust -dbg exclusion for multi-arch * pkgcache: Make hash arch-independent using fixed size integer * test-apt-download-progress: Run the https test multiple times . [ David Kalnischkies ] * update symbols files to 1.1.4 state of affairs * parse .diff/Index hashes in reverse order * redirect which stderr to /dev/null for consistency (Closes: 807373) * show a more descriptive error for weak Release files (Closes: 806459) * support regex and co in 'apt-cache policy $pkg' again (Closes: 807870) * non-existing directories don't need to be cleaned (Closes: 807477) . [ Seo Sanghyeon ] * fix incorrect Korean translation of "manually" and "automatically" . [ Andreas Metzler ] * mention APT::AutoRemove::{Recommends,Suggests}Important option (Closes: 807413) Checksums-Sha1: 840bfcc57b03635dc7c94c95fc4bc44d477d8003 2297 apt_1.1.5.dsc 150002d7e47a8e2409b82e735221ac94bcaa6e24 1991336 apt_1.1.5.tar.xz Checksums-Sha256: 70a8fa390f2cd3004e68770f96c04ac17e2480cae1602664934696ac6b302c2d 2297 apt_1.1.5.dsc a5122f67dac450518fa16b9f66eac6c852d1edc696443af59f5c416008212660 1991336 apt_1.1.5.tar.xz Files: 26b87be5531556379aeed90d2acb08cc 2297 admin important apt_1.1.5.dsc 814228f0e6026137e1d199dd2bcf0b7f 1991336 admin important apt_1.1.5.tar.xz -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWbucMAAoJENc8OeVlgLOG5agQAK8xUC/8fVflZOj8ZXJrvCVj mBmCK4GvzlOf5cjqMQj0pKugXZ9PiY4oHKLZ3VwSr7af2M1bhmtqzbI3HSkxjHAV 4ZzSbtpxPEzaYqWptStAJ7vdfEu2z/Io9nTdQpqGeTmFdsOhgR5R6hBcTb46dPAL OYXfqqlMW2y4elxaHd8jVQNn44fUmKwSEEHdXWZmzPGB56Vze4kk9D9elaTlfhKc plqd21bYXH3Ym+5OOFIh64McR9+yyqckbxP1lqcwjiY8Lva4QR0CWVPw0m7vScwH ry0Ap3QSOsW3ThqdZIflJROu4SRATXzESn3viv7R7tIzu4IoY50p5SL2xubKxBaQ JybYqb9NbIJ0G95sdUm70NLv8qxcshTVX0+svGfPsvqQJkJWhVdtcAEMfp7Z8RUc VpXJccSyz7L+6E9u1UTJJgDQm4KVJhE/HGQIZVk4NSO2ZmRauvqW0dVIPHLDqqRA FOWe26LlSXc7jOscWnbYQ2LS+BGgxlUjSOYVaPT3zlwvkRdHoivsJqnVYVJuqYB2 x5luRv6K9CAmwCaN7CbjlSNFhEHb+QyhIb/CQe54/zuE9bKeDpSZ8JUsOMmBVr/c w/qC3b9u/P5IU6+hC8DnEKdRbzuL66jvH2M1wmbdi/6PB0a2UsTD8aUADbwyAjxC NGwOaRTsq/vITNzysBUp =ut3O -----END PGP SIGNATURE-----
--- End Message ---

