[main] Doc issue in file modules/ROOT/pages/adding-or-removing-software-repositories-in-fedora.adoc - dnf config-manager --set-disabled #775

Closed
opened 2024-10-29 21:18:12 +00:00 by matiaspecchia · 2 comments
Contributor

TL;DR: dnf config-manager --set-disabled does not work inf Fedora Workstation 41.
Hello mantainer(s),
I am new to Fedora.
I recently installed Fedora Workstation 40 last week and today I upgraded to 41.
While following docs and quick docs I see in "Disabling repositories"

dnf config-manager --set-disabled repository

But DNF answers:

$ sudo dnf config-manager --set-disabled foo
Place your right index finger on the fingerprint reader
Unknown argument "--set-disabled" for command "config-manager". Add "--help" for more information about the arguments.
$ echo $?
2

From What I see in rpm-software-amangement/dnf's repo I guess the line should be

dnf config-manager setopt repository.enabled=0

I see the same info in dnf-config-manager(8) man page provided by dnf5-plugins-5.2.6.2-1.fc41.x86_64 package.

Let me know if you need more info or I could help in some way,

regards,

TL;DR: `dnf config-manager --set-disabled ` does not work inf Fedora Workstation 41. Hello mantainer(s), I am new to Fedora. I recently installed Fedora Workstation 40 last week and today I upgraded to 41. While following docs and quick docs I see in "Disabling repositories" ``` dnf config-manager --set-disabled repository ``` But DNF answers: ``` $ sudo dnf config-manager --set-disabled foo Place your right index finger on the fingerprint reader Unknown argument "--set-disabled" for command "config-manager". Add "--help" for more information about the arguments. $ echo $? 2 ``` From What I see [in rpm-software-amangement/dnf's repo]( https://github.com/rpm-software-management/dnf5/blob/c9e96713c7efef91c2c48f5486639cafb7f79173/doc/dnf5_plugins/config-manager.8.rst) I guess the line should be ``` dnf config-manager setopt repository.enabled=0 ``` I see the same info in `dnf-config-manager(8)` man page provided by `dnf5-plugins-5.2.6.2-1.fc41.x86_64` package. Let me know if you need more info or I could help in some way, regards,
Contributor

Fixed in #777.

Fixed in #777.
Contributor

Metadata Update from @pbokoc:

  • Issue close_status updated to: complete
  • Issue status updated to: Closed (was: Open)
**Metadata Update from @pbokoc**: - Issue close_status updated to: complete - Issue status updated to: Closed (was: Open)
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Docs/quick-docs#775
No description provided.