Hello, Thanks for merging the first of the two patches.
As it stands, only one package per distribution will be preserved by apt-cacher-ng. The fix for this is to parse each empty-line-delineated block of the downloaded Sources file as an RFC822 entry, rather than treating the entire file as a single RFC822 entry. The previously attached patch does this. Is there anything I can do to help get this merged for trixie? It would be a shame for this package to essentially cache nothing for more than a few days (the symptom of this bug) for two full release cycles. I'll add that I have been using this patch since submitting it (over two years now). Best, Antonio Russo