[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
java-1.8.0-openjdk-devel-1.8.0.252.b02-0.0.ea.x86_64
```
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
```
But:
```
$ rpm -q --whatrequires java-devel
wildfly-10.1.0-14.noarch
```
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
rpm-4.16.0-6.x86_64
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1426
-------------- 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