[Rpm-maint] [rpm-software-management/rpm] rpm --whatrequires does not resolve provides (#1426)

mikhailnov notifications at github.com
Sat Nov 7 17:59:15 UTC 2020

There is a package which requires "java-devel":
$ rpm -qR wildfly | grep ^java
java-devel >= 1:1.7

The package which provides it is the following:
$ rpm -q --whatprovides java-devel

Now I want to find out why `java-1.8.0-openjdk-devel` was installed and make a query:
$ rpm -q --whatrequires java-1.8.0-openjdk-devel
no package requires java-1.8.0-openjdk-devel

$ rpm -q --whatrequires java-devel

I expected to see `wildfly` in the output of `rpm -q --whatrequires java-1.8.0-openjdk-devel`. Is it a bug or a feature?

RPM is 4.16.0:
user at ROSA-Nickel ~ $ rpm -q rpm

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201107/f7b4ae45/attachment.html>

More information about the Rpm-maint mailing list