Actions
Backport #9167
closedBackport 8506 to 2.13
Start date:
Due date:
% Done:
100%
Estimated time:
Triaged:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Quarter:
Description
Apt install downloads packages by default using http pipelining. However, apt relies on "Size" field from "Packages" file to match responses, but pulp_deb repos do not appear to have it. In certain condition that causes apt to fail.
root@aptbug:~# curl -sS https://repo.saltproject.io/py3/ubuntu/18.04/amd64/latest/dists/bionic/main/binary-amd64/Packages | grep -c ^Size
14
root@aptbug:~# curl -sS http://foreman.example.com/pulp/deb/MyOrg/Library/custom/Saltstack/ubuntu_18_04_salt_latest/dists/default/all/binary-amd64/Packages | grep -c ^Size
0
More details: https://projects.theforeman.org/issues/32178#note-9
Related issues
Updated by quba42 over 3 years ago
- Copied from Issue #8506: apt install - File has unexpected size - http pipeline added
Added by quba42 over 3 years ago
Updated by pulpbot over 3 years ago
- Status changed from NEW to POST
Updated by quba42 over 3 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 3a2d5e2d3077eb56349ffc273fc0cae6f598c26a.
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Add missing "Size" field in publications
also added some more detailed tests for published package-indizes backports #8506 https://pulp.plan.io/issues/8506
fixes #9167
(cherry picked from commit f4172f489c59022fa93256b5781ec34eae8bef99)