Issue #6876
closedPulp 3 - pulp-deb : Wrong paths in Release file
Description
Dear support team,
I discovered a major issue in the Release file produced by pulp-deb publications. The paths are wrong, because it must be relative from the place where the Release file is. With wrong path in Release file, the repo cannot be used (apt client do not see any package comin
Example of what I see in Release file produced by Pulp :
MD5sum:
aa84d85627f4b4d1e1d8072b238150ca 39099687 dists/buster/main/binary-s390x/Packages
422f6f847b971d36d26d724d04e8a0f2 11994723 dists/buster/main/binary-s390x/Packages.gz
4e01fb37905070bf47a186b9321aa507 39689978 dists/buster/main/binary-ppc64el/Packages
15681a4fb0e26463cd7eca6e4c8c4082 12128141 dists/buster/main/binary-ppc64el/Packages.gz
57439b8db44e619293e6df3bc0666de0 39371394 dists/buster/main/binary-mipsel/Packages
What it must be :
MD5sum:
aa84d85627f4b4d1e1d8072b238150ca 39099687 main/binary-s390x/Packages
422f6f847b971d36d26d724d04e8a0f2 11994723 main/binary-s390x/Packages.gz
4e01fb37905070bf47a186b9321aa507 39689978 main/binary-ppc64el/Packages
15681a4fb0e26463cd7eca6e4c8c4082 12128141 main/binary-ppc64el/Packages.gz
57439b8db44e619293e6df3bc0666de0 39371394 main/binary-mipsel/Packages
Example of a working Release file : http://ftp.debian.org/debian/dists/buster/Release
FYI : I already applied this fix : https://github.com/pulp/pulp_deb/pull/173
Thanks for your help
Related issues
Updated by quba42 over 4 years ago
- Has duplicate Issue #6873: Pulp 3 - pulp-deb : APT client notb working due to wrong Release file added
Updated by quba42 over 4 years ago
- Assignee set to quba42
That's what we get for not having a test that uses an APT client to check for repo validity.
I will try to work on this ASAP.
Updated by pulpbot over 4 years ago
- Status changed from NEW to POST
Added by quba42 over 4 years ago
Updated by swisscom over 4 years ago
Thank you very much, I applied the changes from the PR, works like a charm !
[root@lwrdebian1:/etc/apt/sources.list.d(9)]# apt-get update
Ign:1 http://10.30.0.200/pulp/content/lab/debian-buster buster InRelease
Get:2 http://10.30.0.200/pulp/content/lab/debian-buster buster Release [2,918 B]
Ign:3 http://10.30.0.200/pulp/content/lab/debian-buster buster Release.gpg
Get:4 http://10.30.0.200/pulp/content/lab/debian-buster buster/main amd64 Packages [13.3 MB]
Get:5 http://10.30.0.200/pulp/content/lab/debian-buster buster/contrib amd64 Packages [62.4 kB]
Get:6 http://10.30.0.200/pulp/content/lab/debian-buster buster/non-free amd64 Packages [114 kB]
Fetched 13.5 MB in 2s (6,839 kB/s)
Reading package lists... Done
Updated by quba42 over 4 years ago
- Related to Issue #6907: Rework release file fields added
Updated by quba42 over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset 06b9ad15e1b850f231d4bfd88f375b2988ff7615.
Updated by quba42 over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Use the correct relative paths in Release files
fixes #6876 https://pulp.plan.io/issues/6876
I also fixed several instances of using the codename in paths. Codenames should never be used in paths. Always use the "distribution" in paths.
See also: https://pulp.plan.io/issues/6051