[Rpm-maint] [rpm-software-management/rpm] Failure to report the package that requires the specified package (Issue #2439)
Panu Matilainen
notifications at github.com
Thu Mar 23 13:40:28 UTC 2023
This is actually expected behavior, --whatrequires means drastically different things in rpm and dnf. Rpm only searches for literal requires of that capability, whereas dnf resolves the argument into a package and everything it provides.
For the above:
> [pmatilai🎩︎localhost ~]$ rpm -q --requires SDL2|grep libdecor
(libdecor-0.so.0()(64bit) if libwayland-client)
[pmatilai🎩︎localhost ~]$ rpm -q --whatrequires "libdecor-0.so.0()(64bit)"
libdecor-0.1.1-1.fc37.x86_64
SDL2-2.26.3-1.fc37.x86_64
See https://bugzilla.redhat.com/show_bug.cgi?id=1393704 for some history, that RFE should be moved here upstream. In the meanwhile, a common trick to make rpm resolve the dependencies is to use 'rpm -e --test package'.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2439#issuecomment-1481214488
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2439/1481214488 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230323/f5d8c091/attachment.html>
More information about the Rpm-maint
mailing list