Bug#972543: apt-file: Apt-update downloads full Contents file, not pdiffs
calumlikesapplepie@gmail.com:
> On Sun, 2020-10-25 at 11:04 +0100, Niels Thykier wrote:
>> Hi again,
>>
>> Thanks for the data. Unfortunately, it did reveal a smoking gun, so
>> I
>> think we need /tmp/update.log generated from this command.
>>
>> apt -o Debug::pkgAcquire::Worker=1 \
>> -o Debug::pkgAcquire::Diffs=1 update \
>> 2>&1 | tee /tmp/update.log
>
> Attached.
>
Apologies, I should have been more precise.
Please use that command next time you need to run an apt update and when
you get a run where you should have had PDiffs but did not get any, then
submit the log file for that run.
The log file provided is for a "no-changes" run. Accordingly, I cannot
tell if it skipped PDiffs or not because it concluded there was no need
for an update at all.
>> Please attach the file rather than copy-paste in the output from it.
>
> Sure! I just wasn't sure if attaching was standard, or if you'd gotten
> my original attachment.
>
My rule of thumb is more about length and whether the mail programs line
wrap long lines. :) For mail programs that don't, "short" inline
copy-paste is often nicer, but for long files or zealous line wrapping
attachments are often more readable.
~Niels
Reply to: