repoquery by an installation reason #1684
Labels
Priority: LOW
RFE
Request For Enhancement (as opposed to a bug)
Triaged
Someone on the DNF 5 team has read the issue and determined the next steps to take
dnf5 repoquery --userinstalled
mixes user-installed, group-installed, profile-installed, and uknown-reason-installed packages. There is no way to list packages by the exact installation reason (e.g. by "User" reason which is what DNF4 did with --userinstalled. Currently, the user can list all packages withdnf repoquery --installed --qf '%{name} {%reason}\n'
and then grep the output.I propose a new repoquery option, e.g.
--reason={user|dependency|group|unknown|weak}
to limit package set to the given reason. The identifiers should followdnf mark
values.See https://bugzilla.redhat.com/show_bug.cgi?id=2308842.
The text was updated successfully, but these errors were encountered: