Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1171286
| From | Axel Beckert <abe@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1053725: apt-listchanges: Shows NEWS for package tor from 2008 |
| Date | 2023-10-09 21:50 +0200 |
| Message-ID | <Hn4ql-eHZi-7@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <Hn1Vv-eGFY-7@gated-at.bofh.it> <Hn2Rz-eHeS-3@gated-at.bofh.it> <Hn4gF-eHW4-3@gated-at.bofh.it> <Hn0Zr-eG7O-3@gated-at.bofh.it> <Hn4gF-eHW4-3@gated-at.bofh.it> |
| Organization | The Debian Project |
Hi Jonathan, Jonathan Kamens wrote: > OK, this will be fixed in 4.1. Yay, thanks! > Description of the bug and fix, copied from the commit message: > > Bug: > * Main package a has both changelog and NEWS. > * Subpackage a-sub has identical changelog but no NEWS. > * Both a and a-sub version 1 are installed but not in database. > * apt goes to upgrade a and a-sub to version 2. > * apt-listchanges parses a-sub first, records installed entries under > package a instead of a-sub, since we were using the package name in > the changelog entry to determine where in the seen DB to record > entries. Ouch, that seemed rather non-trivial to figure out and reproduce. > I added a unit test for this case which now passes, and all other unit tests > continue to pass with the change described above. Perfect! > Note that the database is entirely replaced when upgraded from pre-4.0 to > 4.x because its format and what we're storing in it are completely > different. Ok, wasn't sure how relevant its content is. Just tried to help. :-) > > # EASY-INSTALL-ENTRY-SCRIPT: 'apt-listchanges==3.27','console_scripts','apt-listchanges' > > Thanks, fixed this as well. Great! Regards, Axel -- ,''`. | Axel Beckert <abe@debian.org>, https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1053725: apt-listchanges: Shows NEWS for package tor from 2008 Axel Beckert <abe@debian.org> - 2023-10-09 18:10 +0200
Bug#1053725: apt-listchanges: Shows NEWS for package tor from 2008 Russ Allbery <rra@debian.org> - 2023-10-09 18:20 +0200
Bug#1053725: apt-listchanges: Shows NEWS for package tor from 2008 Jonathan Kamens <jik@kamens.us> - 2023-10-09 19:10 +0200
Bug#1053725: apt-listchanges: Shows NEWS for package tor from 2008 Axel Beckert <abe@debian.org> - 2023-10-09 20:10 +0200
Bug#1053725: apt-listchanges: Shows NEWS for package tor from 2008 Jonathan Kamens <jik@kamens.us> - 2023-10-09 21:40 +0200
Bug#1053725: apt-listchanges: Shows NEWS for package tor from 2008 Axel Beckert <abe@debian.org> - 2023-10-09 21:50 +0200
Bug#1053725: apt-listchanges: Shows NEWS for package tor from 2008 Russ Allbery <rra@debian.org> - 2023-10-09 20:10 +0200
csiph-web