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 · 4 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
@joshcooper
Copy link
Contributor

@Stricken1670 Fedora 41 packages haven't shipped yet so you're going to get an error trying to install non-existent packages. What is the desired behavior you are asking for?

@Stricken1670
Copy link
Author

I've asked the puppet people to update the package and they told me they have too much to do, even though somebody else at the company make the build process so easy you can simply add a new entry to a text file and the new fedora 41 binary is generated. So much for good documentation.

So... Since puppet won't budge and the fedora 40 packages still work on fedora 41, the workaround I propose is to use the fedora 40 package for fedora 41 as well.

@Stricken1670
Copy link
Author

See also: puppetlabs/puppet#9512

@Stricken1670
Copy link
Author

And this one: puppetlabs/puppet#9506

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

2 participants