Skip to content

fix: replace dnf config-manager --add-repo with curl to support DNF5#126

Merged
vmvarela merged 1 commit intomasterfrom
fix/rpm-dnf5-install-instructions
May 1, 2026
Merged

fix: replace dnf config-manager --add-repo with curl to support DNF5#126
vmvarela merged 1 commit intomasterfrom
fix/rpm-dnf5-install-instructions

Conversation

@vmvarela
Copy link
Copy Markdown
Owner

@vmvarela vmvarela commented May 1, 2026

Problem

dnf config-manager --add-repo es sintaxis de DNF4. DNF5 (Fedora 41+, RHEL 10+) eliminó el argumento --add-repo, haciendo que las instrucciones documentadas fallen:

Unknown argument "--add-repo" for command "config-manager".

Al no añadirse el repo, dnf install sql-pipe también falla con No match for argument: sql-pipe.

Fix

Reemplazado con curl directo a /etc/yum.repos.d/, compatible con DNF4 y DNF5:

sudo curl -fsSL https://vmvarela.github.io/rpm-packages/vmvarela.repo \
  -o /etc/yum.repos.d/vmvarela.repo
sudo dnf install sql-pipe

Note: the RPM repo itself is fine — sql-pipe 0.7.1 is correctly indexed in the repodata.

DNF5 (Fedora 41+, RHEL 10) removed the --add-repo argument from
config-manager. Use curl to drop the .repo file directly into
/etc/yum.repos.d/, which works on both DNF4 and DNF5.
@vmvarela vmvarela added the type:bug Something isn't working label May 1, 2026
@github-actions github-actions Bot removed the type:bug Something isn't working label May 1, 2026
@vmvarela vmvarela merged commit 3dbd251 into master May 1, 2026
5 checks passed
@vmvarela vmvarela deleted the fix/rpm-dnf5-install-instructions branch May 1, 2026 16:17
@vmvarela vmvarela added the type:bug Something isn't working label May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant