rpm-software-management / dnf5

Next-generation RPM package management system
Other
259 stars 87 forks source link

dnf [options] remove --duplicates #760

Open j-mracek opened 1 year ago

j-mracek commented 1 year ago

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.

m-blaha commented 7 months ago

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

ppisar commented 1 month ago

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