Project

Profile

Help

Issue #8828

Synchronizing buster/updates succeeds but does not download any packages

Added by quba42 6 months ago. Updated 6 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
3. High
Version - Debian:
Platform Release:
Target Release - Debian:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Reproducer remote:

REMOTE_HREF=$(http post "${BASE_ADDR}"/pulp/api/v3/remotes/deb/apt/ name="${ENTITIES_NAME}" distributions="buster/updates" components="main" architectures="amd64" url="https://deb.debian.org/debian-security/" | jq -r '.pulp_href')

Result: The sync is successful, but the repo version contains no packages.

First reported here: https://community.theforeman.org/t/subscription-manager-for-debian-ubuntu-on-apt-atix-de/20667/43?u=quba42

Associated revisions

Revision dfb0cf63 View on GitHub
Added by quba42 6 months ago

Consider that release file components may not be plain components

Closes #8828 https://pulp.plan.io/issues/8828

When creating an intersection between the release file components and the components from the remote, we need to consider the special case, where the release file components have a path prefix, but those from the remote do not!

History

#1 Updated by quba42 6 months ago

If I do NOT specify components=main in the remote, then I see packages being downloaded.

#2 Updated by quba42 6 months ago

Hypothesis: It could be related to the fact that the component is prefixed in the Release file (updates/main) which might throw it out during filtering. If so, then the "plain component" needs to be used instead.

#3 Updated by pulpbot 6 months ago

  • Status changed from NEW to POST

#4 Updated by quba42 6 months ago

  • Sprint/Milestone changed from Katello to 2.13.0

#5 Updated by quba42 6 months ago

  • Status changed from POST to MODIFIED

#6 Updated by pulpbot 6 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF