Actions
Issue #4397
closedUnable to sync 3 SLES Update repositories
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.19.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 48
Quarter:
Description
Filtering by srpm:
pulp-admin rpm repo create --repo-id testrepo --feed file:///home/vagrant/testrepo/ --skip srpm
pulp-admin rpm repo sync run --force-full --repo-id testrepo
Causes the following error:
Malformed repository: metadata is missing for some packages in filelists.xml and in other.xml
While syncing without the srpm filter seems to work fine.
Files
Related issues
Actions
Account for duplicate srpms in count when skipping srpms
The issue involved counting duplicate srpms when creating the package count for primary.xml which led the check against filelists.xml to fail. To create a unique package count, we're storing srpms we've seen thereby not counting them if we've seen the NEVRA already.
fixes #4397 https://pulp.plan.io/issues/4397