mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 13:32:42 +00:00
How to remove duplicate packages
This commit is contained in:
parent
96d91827a9
commit
090ae68660
1 changed files with 7 additions and 0 deletions
|
@ -191,6 +191,13 @@ You can see duplicate packages (packages with multiple versions installed) with:
|
|||
sudo dnf repoquery --duplicates
|
||||
----
|
||||
|
||||
And you can remove them with:
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
sudo dnf remove --duplicates
|
||||
----
|
||||
|
||||
[NOTE]
|
||||
====
|
||||
Run `sudo dnf upgrade` first, as this list is only valid if you have a fully updated system.
|
||||
|
|
Loading…
Reference in a new issue