Project

Profile

Help

Issue #6876

Pulp 3 - pulp-deb : Wrong paths in Release file

Added by swisscom 5 months ago. Updated 5 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
4. Urgent
Version - Debian:
master
Platform Release:
Target Release - Debian:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

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

Related to Debian Support - Issue #6907: Rework release file fieldsMODIFIED<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Has duplicate Debian Support - Issue #6873: Pulp 3 - pulp-deb : APT client notb working due to wrong Release fileCLOSED - DUPLICATE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 06b9ad15 View on GitHub
Added by quba42 5 months ago

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

History

#1 Updated by swisscom 5 months ago

Duplicate of #6873 (had network issues yesterday when creating #6873 so I did not notice it was created...)

#2 Updated by quba42 5 months ago

  • Has duplicate Issue #6873: Pulp 3 - pulp-deb : APT client notb working due to wrong Release file added

#3 Updated by quba42 5 months 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.

#4 Updated by pulpbot 5 months ago

  • Status changed from NEW to POST

#5 Updated by swisscom 5 months 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

#6 Updated by quba42 5 months ago

  • Related to Issue #6907: Rework release file fields added

#7 Updated by quba42 5 months ago

  • Status changed from POST to MODIFIED

Please register to edit this issue

Also available in: Atom PDF