> I've attached an example log, where the error pops up for multiple
packages, and they all appear to be compared to one size (86464 bytes).

just for the record: This is a misunderstanding. If apt does pipelining
it searches in the requests it made for the file this response is for.
If no request matches the size the error shows the last tried size (aka
of the last file in the queue).

I wonder a bit why Filesize isn't included in the message as internally
it is implemented as a (very weak) hash, but that might be due to the
apt version… I am not remembering ATM how it worked back then.

I am also a bit worried about the screenshot in the referred bugreport
as that shows two different servers replying (Apache vs some python via
a proxy).

And last not least: The sizes given in the HTTP request logs for
python3-zmq (which failed in that example) shown in
/var/log/httpd/foreman_access.log and /var/log/messages do not match
(254232 vs 254454).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1921626

Title:
  apt install - File has unexpected size - http pipeline

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1921626/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to