dnf5 icon indicating copy to clipboard operation
dnf5 copied to clipboard

dnf [options] remove --duplicates

Open j-mracek opened this issue 1 year ago • 1 comments

Removes older versions of duplicate packages. To ensure the integrity of the system it reinstalls the newest package. In some cases the command cannot resolve conflicts. In such cases the dnf shell command with remove --duplicates and upgrade dnf-shell sub-commands could help.

j-mracek avatar Jul 21 '23 08:07 j-mracek

An example of situation where remove --duplicates fails to resolve conflicts: https://bugzilla.redhat.com/show_bug.cgi?id=2271419

m-blaha avatar Apr 10 '24 13:04 m-blaha

dnf remove --duplicates is also mentioned at https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/.

ppisar avatar Oct 04 '24 14:10 ppisar