https://bugzilla.redhat.com/show_bug.cgi?id=1805779



--- Comment #12 from Adam Williamson <[email protected]> ---
Hadn't noticed that bug, that is annoying. IIRC, though, it always used to work
that way, and querying by provides as well as literal name is a fairly recent
feature, so I always used to hack up a little bash something like this:

for i in `dnf repoquery --provides foo`; do echo "PROVIDES $i"; dnf repoquery
--whatrequires "$i"; done

untested and it probably has a mistake in it somewhere, but you get the idea
anyway :)

BTW, there's I think one more reason to have the Provides: to ensure the
package actually gets installed on upgrade. I haven't checked to be sure, but
IIRC if 'new-foo' only Obsoletes 'old-foo' but doesn't Provides it, when you do
an upgrade, it's not actually guaranteed that 'new-foo' will be installed to
replace 'old-foo', it'll only happen if 'new-foo' is pulled into the
transaction for some other reason.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to