Hi,
My apologies for the delay getting back to you about this.
If you can, please do the following to help me debug this further:
1. Undo the configuration change described in your email.
2. Add `capture_snapshots=yes` to /etc/apt/listchanges.conf in the
`[apt]` section.
3. Add `snapshot_dir=/var/lib/apt/listchanges-snapshots` to
/etc/apt/listchanges.conf in the `[apt]` section.
4. Wait until the next time the problem happens.
5. Right after it happens, send me (preferably by uploading it
somewhere temporarily and sending me a link privately, rather than
by attaching it to the ticket) the newest snapshot file in
/var/lib/apt/listchanges-snapshots.
6. Then you can either remove the settings you added to
`listchanges.conf` or change `capture_snapshots` to `auto` which
will disable snapshots until/unless you later install an
experimental version of apt-listchanges.
I hope the snapshot of the run which has this problem will give me the
information I need to be able to figure out what's going wrong and how
to fix it.
If you want to read more about the snapshot functionality see the
comment at the top of this file
<https://salsa.debian.org/debian/apt-listchanges/-/blob/debian/unstable/apt_listchanges/snapshot.py>.
Thanks,
jik
On 11/11/24 4:18 AM, Raphaël Halimi wrote:
Hi,
Tired of receiving 2.5 MB e-mails every time the kernel was upgraded,
in an attempt to work around the problem, I changed apt-listchanges'
configuration to disable the download of changelogs from the network
(since the one in the package is truncated, I told myself that I may
get a bunch of already seen entries, but a lot less).
Today, the kernel was upgraded in Sid, and for the first time since
the major overhaul, apt-listchanges behaved correctly, displaying only
the latest changelog entry, instead of going back to the bottom of the
changelog file, which means it correctly identified the entries I've
already seen, and eliminated them.
Why are local changelogs (extracted from packages) and remote ones
(downloaded from Internet) treated differently ? Are they processed by
two different algorithms ?
Regards,