Upgrading: Remove "dnf repoquery --unsatisfied" command

DNF5 does not support this option. Thus it cannot be used after an
upgrade on Fedora 41.

Moreover, this manual is about upgrading. Not about fixing a broken
system. One cannot install a broken package with DNF. "rpm --nodeps"
is for those who know what they do.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2316290
This commit is contained in:
Petr Písař 2024-10-04 15:20:55 +02:00
parent 3263f4d06c
commit 428debfd4b

View file

@ -169,15 +169,6 @@ NOTE: Upgrades across *more* than two releases are not supported.
[[sect-clean-up-old-packages]] [[sect-clean-up-old-packages]]
=== Clean-up old packages === Clean-up old packages
You can see a list of packages with broken dependencies by typing:
[source,bash]
----
sudo dnf repoquery --unsatisfied
----
The list should be empty, but if this is not the case consider removing them as they are not likely to work.
You can see duplicate packages (packages with multiple versions installed) with: You can see duplicate packages (packages with multiple versions installed) with:
[source,bash] [source,bash]