On Wed, 2025-06-04 at 13:18 -0400, Todd Zullinger wrote:
> Patrick O'Callaghan wrote:
> > On Wed, 2025-06-04 at 11:25 -0400, Todd Zullinger wrote:
> > > The man page (dnf5-list) says in the synopsis:
> > > 
> > >     dnf5 list [options] [<package-spec>...]
> > > 
> > > and in the examples it shows:
> > > 
> > >     dnf5 list kernel*
> > > 
> > > (which it presumes users will know to properly escape in
> > > their choice of shell, e.g. dnf list 'kernel*' or dnf list
> > > kernel\* for sh shells.)
> > 
> > So 'dnf list "*"' is what I'm looking for.
> 
> No pattern is required. That's what the brackets around
> '<package-spec>...' signify.  Similarly, 'options' are,
> unsurprisingly, optional. :)
> 
> Leaving it off makes more sense, IMO.

Of course. I did know that in fact.

Nonetheless when I wanted to list the packages from a specific repo
(rather than everything) I tried:

$ dnf list --repo=copr:copr.fedorainfracloud.org:lizardbyte:beta|wc -l
Updating and loading repositories:
Repositories loaded.
3522

However that's a small repo with only a couple of packages, not over
3500:

$ dnf list|grep copr:copr.fedorainfracloud.org:lizardbyte:beta
Updating and loading repositories:
Repositories loaded.
Sunshine.x86_64                                                                 
         2025.531.135549-1.fc42                                                 
         copr:copr.fedorainfracloud.org:lizardbyte:beta
Sunshine.src                                                                    
         2025.531.135549-1.fc42                                                 
         copr:copr.fedorainfracloud.org:lizardbyte:beta

I would have expected those two commands to have listed essentially the same 
set of packages.

poc
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-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/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to