On Thu, 2019-12-19 at 12:13 +0000, Petr Pisar wrote:
> On 2019-12-17, David Cantrell <dcantr...@redhat.com> wrote:
> > 4) How can users determine what packages are installed from a module and how
> > can you see what, if any, module "owns" a package?  I have been unable to
> > determine how to do this from dnf.
> > 
> By asking dnf. perl-libs-5.30.1-449.fc32.x86_64 is a non-modular package:
> 
> # dnf module provides perl-libs-5.30.1-449.fc32.x86_64
> Last metadata expiration check: 0:00:54 ago on Thu 19 Dec 2019 01:06:07 PM 
> CET.
> 
> perl-libs-5.30.1-449.module_f32+7155+1847c895.x86_64 is a modular package:
> 
> # dnf module provides perl-libs-5.30.1-449.module_f32+7155+1847c895.x86_64
> Last metadata expiration check: 0:01:01 ago on Thu 19 Dec 2019 01:06:07 PM 
> CET.
> perl-libs-4:5.30.1-449.module_f32+7155+1847c895.x86_64
> Module   : perl:5.30:3220191129151030:35f641a4:x86_64
> Profiles : 
> Repo     : rawhide-modular
> Summary  : Practical Extraction and Report Language

Hum, that's slightly odd syntax, isn't it? For rpm, `provides` means
"what does this RPM provide?" If you want to know "what provides this
capability?", you use `whatprovides`.

This seems like a `whatprovides` situation (the module provides the
package, the package doesn't provide the module) but we're using the
`provides` term :/
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org

Reply via email to