Project

Profile

Help

Issue #2560

closed

Non-unique collection names in erratum pkglists causes yum not to show all packages

Added by ttereshc over 7 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.12.2
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 16
Quarter:

Description

Yum relies on the following:

  • collection name in pkglist is unique to the certain erratum across all the repos
  • in case of the same collection names for the certain erratum in multiple repos, the first one is chosen.

To reproduce the issue:

  1. create repo A1 with packages P1, P2 and erratum E and packages P1 and P2 in its pkglist/collection.
  2. create repo A2 which is a copy of repo A1.
  3. remove P1 from repo A1
  4. remove P2 from repo A2
  5. publish both repos
  6. enable both repos for your yum client
  7. run `yum updateinfo list` (assuming you have old versions of P1 and P2 installed)
  8. observe only one package (P1 or P2, it depends which repo was "the first") listed for update

Potential solutions:

  • make collection names unique across repos, maybe by adding repo_id to its name
  • always publish the full pkglist for erratum even if packages are not available in the repo
  • something else?

Related issues

Related to RPM Support - Issue #2623: Errata publish performace degradation CLOSED - CURRENTRELEASEsemyersActions

Also available in: Atom PDF