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 available packages.

Yes, adding '--available' works:

$ dnf list --available --repo=copr:copr.fedorainfracloud.org:lizardbyte:beta
Updating and loading repositories:
Repositories loaded.
Available packages
Sunshine.src    2025.531.135549-1.fc42 
copr:copr.fedorainfracloud.org:lizardbyte:beta
Sunshine.x86_64 2025.531.135549-1.fc42 
copr:copr.fedorainfracloud.org:lizardbyte:beta
copr-ci.src     2025.526.2856-1.fc42   
copr:copr.fedorainfracloud.org:lizardbyte:beta
copr-ci.x86_64  2025.526.2856-1.fc42   
copr:copr.fedorainfracloud.org:lizardbyte:beta

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 Least Astonishment.

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