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

Cannot install k6 rpm #4087

Closed
JBWatenbergScality opened this issue Dec 4, 2024 · 2 comments
Closed

Cannot install k6 rpm #4087

JBWatenbergScality opened this issue Dec 4, 2024 · 2 comments
Assignees
Labels
awaiting user waiting for user to respond bug

Comments

@JBWatenbergScality
Copy link

Brief summary

When running below command:

sudo dnf install https://dl.k6.io/rpm/repo.rpm

I'm getting the following error:

Errors during downloading metadata for repository '[dl.k6.io](http://dl.k6.io/)':
 - Status code: 403 for https://dl.k6.io/rpm/repodata/repomd.xml (IP: 3.164.240.81)
Error: Failed to download metadata for repo '[dl.k6.io](http://dl.k6.io/)': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

k6 version

any

OS

rocky 8.9

Docker version and image (if applicable)

No response

Steps to reproduce the problem

sudo dnf install https://dl.k6.io/rpm/repo.rpm

Expected behaviour

No 403 when installing k6.

Actual behaviour

Cannot install k6 (getting a 403).

@mstoykov
Copy link
Contributor

mstoykov commented Dec 4, 2024

Thanks for reporting this @JBWatenbergScality 🙇

This seems strange:

  1. it works for me with no problems
  2. the actual file is https://dl.k6.io/rpm/x86_64/repodata/repomd.xml and my fedora 41 get this correctly

By the looks of it in .repo file your system doesn't expand $basearch or something else is happening.

Can we confirm you have not done anything strange to the repo file and that some other repo with $basearch in its repo files is working?

The repo files for me are under /etc/yum.repos.d/, no idea how that is for rocky linux.

@mstoykov mstoykov added awaiting user waiting for user to respond and removed triage labels Dec 4, 2024
@JBWatenbergScality
Copy link
Author

Thanks this was indeed on my side, I got some issues in my repos files and sort this out ! Sorry for the noise !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting user waiting for user to respond bug
Projects
None yet
Development

No branches or pull requests

2 participants