[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unusual errors during apt-get update



On 2025-09-14 01:12:07 +0300, monodev wrote:
> It has been pointed out in the Reddit thread by the user notR1CH that these
> messages are not really errors, but are caused by apt deciding to download
> the whole file instead of the patch once the ratio of the size of the patch
> vs the whole file exceeds a certain threshold (as determined by the
> "Acquire::PDiffs::SizeLimit" configuration variable). Specifically this
> calculation is done in the function named "pkgAcqDiffIndex::ParseDiffIndex"
> in file "acquire-item.cc", which has the following comment:
> 
>     // failing here is fine: our caller will take care of trying to
>     // get the complete file if patching fails
> 
> Link to the comment:
> 
> https://www.reddit.com/r/debian/comments/1ndt5wp/comment/ndr66v7/
> 
> As such it seems to me that this is not really an error and can be
> disregarded.

If this is not an error, this should not be reported to the end user.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)


Reply to: