Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Librepo error: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried #745

Open
Stricken1670 opened this issue Dec 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Stricken1670
Copy link

Since upgrading the puppet-agent binary is too much work: puppetlabs/puppet#9512

And this module creates a repo entry like this:

%  cat /etc/yum.repos.d/pc_repo.repo 
[pc_repo]
name=Puppet Labs puppet8 Repository
baseurl=http://yum.puppet.com/puppet8/fedora/41/x86_64
enabled=True
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppet
  file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppet-20250406

Which results in:

# dnf update               
Updating and loading repositories:
 Puppet Labs puppet8 Repository                                                                                                                                                                                                                                100% |   6.2 KiB/s |   1.5 KiB |  00m00s
>>> Status code: 404 for http://yum.puppet.com/puppet8/fedora/41/x86_64/repodata/repomd.xml (IP: 10.10.8.1) - http://yum.puppet.com/puppet8/fedora/41/x86_64/repodata/repomd.xml - repomd.xml
>>> Status code: 404 for http://yum.puppet.com/puppet8/fedora/41/x86_64/repodata/repomd.xml (IP: 10.10.8.1) - http://yum.puppet.com/puppet8/fedora/41/x86_64/repodata/repomd.xml - repomd.xml
>>> Status code: 404 for http://yum.puppet.com/puppet8/fedora/41/x86_64/repodata/repomd.xml (IP: 10.10.8.1) - http://yum.puppet.com/puppet8/fedora/41/x86_64/repodata/repomd.xml - repomd.xml
>>> Status code: 404 for http://yum.puppet.com/puppet8/fedora/41/x86_64/repodata/repomd.xml (IP: 10.10.8.1) - http://yum.puppet.com/puppet8/fedora/41/x86_64/repodata/repomd.xml - repomd.xml
>>> Librepo error: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Repositories loaded.

Therefore, I'm requesting an elegant solution.

@Stricken1670 Stricken1670 added the bug Something isn't working label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant