Maintenance: Planio will be observing a scheduled maintenance window this Tuesday, November 5, 2024 from 03:00 UTC until 06:30 UTC to perform urgent network maintenance in our primary data center. Your Planio account will be unavailable during this maintenance window.
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
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