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

Wrong dnf command in Linux Installation Documentation #8167

Closed
KrappRamiro opened this issue Feb 5, 2025 · 3 comments
Closed

Wrong dnf command in Linux Installation Documentation #8167

KrappRamiro opened this issue Feb 5, 2025 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@KrappRamiro
Copy link

Describe the bug
In https://docs.k8slens.dev/getting-started/install-lens/#install-lens-desktop-from-the-rpm-repository , the Fedora installation command is

sudo dnf config-manager --add-repo https://downloads.k8slens.dev/rpm/lens.repo

When it should be

sudo dnf config-manager addrepo --from-repofile=https://downloads.k8slens.dev/rpm/lens.repo

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://docs.k8slens.dev/getting-started/install-lens/#install-lens-desktop-from-the-rpm-repository
  2. Copy the current Fedora command into a Fedora installation
  3. You will see the error Unknown argument "--add-repo" for command "config-manager". Add "--help" for more information about the arguments.
  4. Now try sudo dnf config-manager addrepo --from-repofile=https://downloads.k8slens.dev/rpm/lens.repo
  5. You will see how it works

Screenshots

Image

Image

Environment:

  • OS: Fedora Linux 41 (Workstation Edition) x86_64
@KrappRamiro KrappRamiro added the bug Something isn't working label Feb 5, 2025
@Tixon123
Copy link

Tixon123 commented Feb 6, 2025

Hello @KrappRamiro,

Thank you for reaching out to Lens support!

Thank you for reporting a bug.

We are working on your issue. Stand by for further updates.

Best Regards,
Tikhon Kudinov
Lens Support Engineer
Mirantis, Inc

@panuhorsmalahti
Copy link
Contributor

It looks like this is a change in syntax for dnf5, the command is correct for dnf4. We will update the docs, thanks.

@dzhigzhitzhapov dzhigzhitzhapov self-assigned this Feb 6, 2025
@dzhigzhitzhapov
Copy link
Contributor

The command has been updated

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

4 participants