[main] Doc issue in file modules/ROOT/pages/upgrading-fedora-offline.adoc (dnf remove --duplicates) #774

Open
opened 2024-10-29 19:51:15 +00:00 by james-pre · 3 comments

dnf remove --duplicates fails when using DNF5:

$ sudo dnf remove --duplicates
Unknown argument "--duplicates" for command "remove". Add "--help" for more information about the arguments.

This is in the Clean-up old packages section.

`dnf remove --duplicates` fails when using DNF5: ```sh $ sudo dnf remove --duplicates Unknown argument "--duplicates" for command "remove". Add "--help" for more information about the arguments. ``` This is in the [Clean-up old packages](https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/#sect-clean-up-old-packages) section.
Contributor

I never had duplicates but you can probably do it like in the "extras" step: sudo dnf remove $(sudo dnf repoquery --duplicates) (untested!)

I never had duplicates but you can probably do it like in the "extras" step: `sudo dnf remove $(sudo dnf repoquery --duplicates)` (untested!)
Contributor

There's an upstream bug about this here: https://github.com/rpm-software-management/dnf5/issues/760 - let's keep an eye out on it.

There's an upstream bug about this here: https://github.com/rpm-software-management/dnf5/issues/760 - let's keep an eye out on it.
Contributor

Metadata Update from @pbokoc:

  • Issue priority set to: waiting on external (was: awaiting triage)
**Metadata Update from @pbokoc**: - Issue priority set to: waiting on external (was: awaiting triage)
Sign in to join this conversation.
No milestone
No project
No assignees
3 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#774
No description provided.