question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicate package in repo

See original GitHub issue

When mirroring the prometheus rpm repository in pulp we are experiencing errors due to a duplicate package.

Pulp is returning the following error: A file located at the url https://packagecloud.io/prometheus-rpm/release/el/8/x86_64/prometheus2-2.30.3-1.el8.x86_64.rpm failed validation due to checksum.

When trying dralley tried downloading it manually with rpmrepo, it is failing with the following error:

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
dralleycommented, Feb 22, 2022

I don’t know how the repos are created (by packagecloud) but I did file an issue in createrepo_c upstream to disallow building repos with duplicate package entries in the first place.

https://github.com/rpm-software-management/createrepo_c/issues/307

0reactions
maartenbeeckmanscommented, Feb 22, 2022

Yes, now it works.

Thx for fixing the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Duplicate Packages - aptly
Debian documentation on repository format explicitly forbids duplicate packages with different content in one repository or in set of repositories for one ...
Read more >
Duplicating a repository - GitHub Docs
Open TerminalTerminalGit Bash. · Create a bare clone of the repository. · Navigate to the repository you just cloned. · Pull in the...
Read more >
Copy packages between repositories - CodeArtifact
Normally, copy-package-versions only looks in the repository specified by the --source-repository option for versions to copy. However, you can copy versions ...
Read more >
How to remove duplicate packages from a failed yum transaction
After a failed yum transaction, yum-complete-transaction fails to complete and the duplicates are still present. yum fails with <package_name- ...
Read more >
“yum update” fails with “[package version 1] is a duplicate with ...
Removing the duplicate packages · 1. Use package-cleanup to remove duplicates: · 2. Update the system after removing duplicates: · 3. After the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found