[Rpm-maint] [rpm-software-management/rpm] Resolve --what<depends> arguments to package provides (PR #2451)
Michael Schroeder
notifications at github.com
Mon Mar 27 08:06:59 UTC 2023
(Sorry about that history comment. I should read your bug references first...)
There's also the question if the query should use the current state of installed packages or do "potential" matches. Say installed package A contains a requires `(B or C)`. Should `--whatrequires B` return A if C is installed? Say A contains a requires `(B if C)`. Should it return A if C is not installed?
Also, if the user expectation is to find out if a package can be uninstalled, should the query look at conflicts as well? Say installed package A contains a conflicts `B unless C` and both B and C are also installed. Is the expectation that `--whatrequires C` returns A? In that case a new query option would be better that does not contain the dependency type, e.g. `--whatdepends` or `--whatneeds`.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2451#issuecomment-1484690202
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2451/c1484690202 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230327/c4ba69dd/attachment.html>
More information about the Rpm-maint
mailing list