Re: List available packages in a repo

2025-06-07 Thread Patrick O'Callaghan
On Fri, 2025-06-06 at 10:15 -0400, Todd Zullinger wrote: > > > If anything, maybe the documentation for the list command > > > can be improved to make it clearer how things behave. > > > > That's probably the most sensible course. > > The "funny" part would be if you tried to do that and then > f

Re: List available packages in a repo

2025-06-06 Thread Todd Zullinger
Patrick O'Callaghan wrote: > On Thu, 2025-06-05 at 19:48 -0400, Todd Zullinger wrote: >> Essentially, the list command behaves as though '--installed >> --available' are passed if neither are given. >> > > Well, no. If "--available" is given explicitly, it *excludes* the > installed packages exc

Re: List available packages in a repo

2025-06-06 Thread Patrick O'Callaghan
On Thu, 2025-06-05 at 19:48 -0400, Todd Zullinger wrote: > Patrick O'Callaghan wrote: > > On Thu, 2025-06-05 at 23:27 +0100, Patrick O'Callaghan wrote: > > > > My conceptual problem is that this makes no logical sense. If I don't > > > > include '--available' than I get a long list of packages whic

Re: List available packages in a repo

2025-06-05 Thread Todd Zullinger
Patrick O'Callaghan wrote: > On Thu, 2025-06-05 at 23:27 +0100, Patrick O'Callaghan wrote: >>> My conceptual problem is that this makes no logical sense. If I don't >>> include '--available' than I get a long list of packages which are >>> *not* from the repo I explicitly asked for. This violates t

Re: List available packages in a repo

2025-06-05 Thread Patrick O'Callaghan
On Thu, 2025-06-05 at 23:27 +0100, Patrick O'Callaghan wrote: > > My conceptual problem is that this makes no logical sense. If I don't > > include '--available' than I get a long list of packages which are > > *not* from the repo I explicitly asked for. This violates the venerable > > Principle Of

Re: List available packages in a repo

2025-06-05 Thread Patrick O'Callaghan
On Thu, 2025-06-05 at 12:03 +0100, Patrick O'Callaghan wrote: > On Wed, 2025-06-04 at 18:29 -0400, Todd Zullinger wrote: > > I think that's because you need to add --available to the > > list subcommand to not include all the installed packages. > > Per dnf5-list(8): > > > >    --installed > >

Re: List available packages in a repo

2025-06-05 Thread Patrick O'Callaghan
On Wed, 2025-06-04 at 18:29 -0400, Todd Zullinger wrote: > I think that's because you need to add --available to the > list subcommand to not include all the installed packages. > Per dnf5-list(8): > >    --installed >   List only installed packages. > >    --available >   List only a

Re: List available packages in a repo

2025-06-04 Thread Todd Zullinger
Patrick O'Callaghan wrote: > On Wed, 2025-06-04 at 14:37 -0700, ToddAndMargo via users wrote: >> Whenever I do a "dnf list", I always add >>   ... | grep -i  fragment_of_what_I_am_looking_for >> >> Makes me a happy camper. > > Yes I know. I'm still trying to get my head around the actual logic of

Re: List available packages in a repo

2025-06-04 Thread Todd Zullinger
Patrick O'Callaghan wrote: > On Wed, 2025-06-04 at 13:18 -0400, Todd Zullinger wrote: >> 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 --re

Re: List available packages in a repo

2025-06-04 Thread Patrick O'Callaghan
On Wed, 2025-06-04 at 14:37 -0700, ToddAndMargo via users wrote: > Whenever I do a "dnf list", I always add >   ... | grep -i  fragment_of_what_I_am_looking_for > > Makes me a happy camper. Yes I know. I'm still trying to get my head around the actual logic of the dnf command options. I'm sure it

Re: List available packages in a repo

2025-06-04 Thread ToddAndMargo via users
On 6/4/25 7:13 AM, Patrick O'Callaghan wrote: The man page for dnf5 says: list List installed or available packages. However it doesn't appear to give any more detail, and if I try it: $ dnf list --available fedora.repo Updating and loading repositories: Repositories loa

Re: List available packages in a repo

2025-06-04 Thread Patrick O'Callaghan
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] [...] > > > > > > and in the examples it shows: > > > > > >

Re: List available packages in a repo

2025-06-04 Thread Todd Zullinger
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] [...] >> >> and in the examples it shows: >> >>     dnf5 list kernel* >> >> (which it presumes users will know to properly escape

Re: List available packages in a repo

2025-06-04 Thread Patrick O'Callaghan
On Wed, 2025-06-04 at 11:25 -0400, Todd Zullinger wrote: > The man page (dnf5-list) says in the synopsis: > >     dnf5 list [options] [...] > > 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

Re: List available packages in a repo

2025-06-04 Thread Todd Zullinger
Patrick O'Callaghan wrote: > The man page for dnf5 says: > >list > List installed or available packages. > > However it doesn't appear to give any more detail, and if I try it: > > $ dnf list --available fedora.repo > Updating and loading repositories: > Repositories loaded

Re: List available packages in a repo

2025-06-04 Thread David King
On 6/4/25 10:13 AM, Patrick O'Callaghan wrote: The man page for dnf5 says: list List installed or available packages. However it doesn't appear to give any more detail, and if I try it: $ dnf list --available fedora.repo Updating and loading repositories: Repositories lo

Re: List available packages in a repo

2025-06-04 Thread Will McDonald
On Wed, 4 Jun 2025 at 15:13, Patrick O'Callaghan wrote: > The man page for dnf5 says: > >list > List installed or available packages. > > However it doesn't appear to give any more detail, and if I try it: > > $ dnf list --available fedora.repo > Updating and loading reposit

List available packages in a repo

2025-06-04 Thread Patrick O'Callaghan
The man page for dnf5 says: list List installed or available packages. However it doesn't appear to give any more detail, and if I try it: $ dnf list --available fedora.repo Updating and loading repositories: Repositories loaded. No matching packages to list which is clearl