Description of problem: [hans@shalem ~]$ sudo dnf repoquery --alldeps --whatrequires tolua++ Last metadata expiration check: 1:21:37 ago on vr 11 okt 2019 10:35:35 CEST. <empty> [hans@shalem ~]$ rpm -q tolua++ --provides tolua++-1.0.93-24.fc29.x86_64 libtolua++-5.3.so()(64bit) tolua++ = 1.0.93-24.fc29 tolua++(x86-64) = 1.0.93-24.fc29 [hans@shalem ~]$ sudo dnf repoquery --alldeps --whatrequires 'libtolua++-5.3.so()(64bit)' Last metadata expiration check: 1:25:35 ago on vr 11 okt 2019 10:35:35 CEST. ClanLib06-0:0.6.5-45.fc31.x86_64 cegui-0:0.8.7-15.fc31.x86_64 cegui-devel-0:0.8.7-15.fc31.x86_64 AFAIK the first dnf command should also have shown these. This has also caused tolua++ do be retired as the orphan reports did not include these deps likely due to this dnf issue.
IMHO this only doesn't work because tolua++ is retired and hence repoquery doesn't know what it is supposed to provide. See the difference: $ repoquery --releasever=31 --repo=fedora{,-source} --repo=updates{,-source} --whatrequires tolua++ <empty> $ repoquery --releasever=30 --repo=fedora{,-source} --repo=updates{,-source} --whatrequires tolua++ ClanLib06-0:0.6.5-44.fc30.i686 ClanLib06-0:0.6.5-44.fc30.x86_64 cegui-0:0.8.7-14.fc30.i686 cegui-0:0.8.7-14.fc30.x86_64 cegui-devel-0:0.8.7-14.fc30.i686 cegui-devel-0:0.8.7-14.fc30.x86_64 conky-0:1.10.8-3.fc30.x86_64 ember-0:0.7.2-25.fc29.x86_64 tolua++-devel-0:1.0.93-24.fc29.i686 tolua++-devel-0:1.0.93-24.fc29.x86_64
Thanks Miro for comment. `sudo dnf repoquery --alldeps --whatrequires tolua++` command is using only available metadata, therefore this is the reason for different output between rpm and dnf commands. To run repoquery on top of installed rpm, please add --installed option. To use installed and available data please add --installed --available options.
(In reply to Miro Hrončok from comment #1) > IMHO this only doesn't work because tolua++ is retired and hence repoquery > doesn't know what it is supposed to provide. Ah, good point, my bad, lets close this then.