Skip to content

Dnf command to add repository is not up to date #35330

@metal3d

Description

@metal3d

Description

I'm using Gitea on my own servers (and, first, thanks a lot for Gitea)
I'm creating packages for many distributions.

But there is a little problem on the interface. The package page says :

# on RedHat based distributions
dnf config-manager --add-repo https://repo.katenary.io/api/packages/Katenary/rpm.repo

It's OK on Red Hat or Rocky Linux 9, but it is not up to date for dnf5 on Fedora 42.

Unknown argument "--add-repo" for command "config-manager". Add "--help" for more information about the arguments.

The new command on Fedora is :

dnf config-manager addrepo --from-repofile https://repo.katenary.io/api/packages/Katenary/rpm.repo

It could be interesting to add one line for newest version of dnf5.

Thanks a lot!

Gitea Version

1.24.5

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Helm chart on my own servers

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions