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

Re: Unusual errors during apt-get update



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.


Reply to: