Closed birdie-github closed 2 weeks ago
Hi, this is expected, since now to filter installed packages, the optional subcommand was changed to option --installed
(similarly with other subcommands). The disadvantage of having an optional subcommand was that you couldn't list packages with names like "installed" or "all" which could technically exist, but their name would clash with a subcommand.
@pkratoch
You really could consider creating a cheat sheet of differences between dnf and dnf5.
Too many basic commands now are different between the two.
Sorry, I should have linked it right away. There is https://github.com/rpm-software-management/dnf5/blob/main/doc/changes_from_dnf4.7.rst that documents changes between dnf4 and dnf5. The change in optional subcommands is in subsection https://github.com/rpm-software-management/dnf5/blob/main/doc/changes_from_dnf4.7.rst#optional-subcommands
dnf5-5.2.6.2-1.fc41.x86_64