On 2020-08-25 at 05:34, Guillem Jover wrote:

> Hi!
> 
> On Sat, 2020-08-15 at 07:29:42 -0400, The Wanderer wrote:

>> During a routine 'apt-get dist-upgrade' against testing, I got (in 
>> part):

<snip>

>> After this, a run of 'apt-get -f install' did not appear to act on
>> the locales-all package, and did not fail. A subsequent repeat of
>> the dist-upgrade command saw locales-all as the only package
>> available to be upgraded, and proceeding let it upgrade without a
>> repeat of the error.
> 
> Did the subsequent upgrade download the package again? If so the
> local one could have been damaged, but a redownload would have fixed
> that.

I do not recall noticing it doing so, but I cannot swear that it didn't.
Unfortunately, I no longer have access to the relevant backscroll to
check, and the only log file which looks as if it should perhaps record
such (/var/log/apt/term.log) seems in fact to only record the terminal
output from after the download process would have completed.

> If you do not have access to the supposedly "faulty" package as it
> was just after the dpkg error, then I'm not sure there is much we can
> do at this point though. :/

Quite possibly not. I'll keep that thought in mind in case a similar
problem recurs at some later point, but there may indeed not be anything
we can do about it now.

> I'm not sure if this could be related to some recent fixes in apt 
> where it previously was not fully fetching all data from remote 
> sites.
> 
> What I can do though, is add a bit more information to the error 
> message, such as the .deb name and size, so that if the file had been
> truncated then we'd be able to immediately know. Ideally a checksum
> would also be printed but hmmm.

That could indeed be useful in the event of a recurrence.

Regardless, I do appreciate the attention you're giving to this!

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to