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

[BUG] Install script not working #2716

Closed
HVinther opened this issue Dec 22, 2024 · 5 comments · Fixed by #2727 or #2729
Closed

[BUG] Install script not working #2716

HVinther opened this issue Dec 22, 2024 · 5 comments · Fixed by #2727 or #2729
Assignees
Labels
bug Something isn't working

Comments

@HVinther
Copy link

Describe the bug
On a fresh Fedora 41 I tried running the install script from the terra website
sudo dnf install --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' --setopt='terra.gpgkey=https://repos.fyralabs.com/terra$releasever/key.asc' terra-release

This did not result in a valid url resulting in a 404 message. The "fancy install script" from https://developer.fyralabs.com/terra/installing yielded the same result.

Chaging $releasever to 41 resulted in a successful install process.

To Reproduce
Steps to reproduce the behavior:

  1. Install Fedora 41
  2. Open Terminal
  3. sudo dnf install --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' --setopt='terra.gpgkey=https://repos.fyralabs.com/terra$releasever/key.asc' terra-release

Expected behavior
Release version is auto selected and the "just paste and run"-command "just works".

Screenshots
billede

Affected (please complete the following information):

  • Fedora 41
@HVinther HVinther added the bug Something isn't working label Dec 22, 2024
Copy link

linear bot commented Dec 22, 2024

@lleyton lleyton self-assigned this Dec 23, 2024
@madonuko
Copy link
Member

This is a possible regression in dnf5 as noted in rpm-software-management/dnf5#1941

The workaround for this is to replace $releasever with the system release version (e.g. 41) manually

@lleyton
Copy link
Member

lleyton commented Dec 23, 2024

Thanks for the info! I'll update the website and docs such that releasever is templated outside of dnf, something like this?

sudo dnf install --repofrompath "terra,https://repos.fyralabs.com/terra$(rpm -E %fedora)" --setopt="terra.gpgkey=https://repos.fyralabs.com/terra$(rpm -E %fedora)/key.asc" terra-release

@madonuko
Copy link
Member

I think it only happens with --setopt, not --repofrompath

@lleyton
Copy link
Member

lleyton commented Dec 23, 2024

reopening, since the workaround we're using doesn't work on rawhide

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
3 participants