On Thu, Jan 22, 2026 at 4:21 AM Dario Lesca <[email protected]> wrote:
>
> ... and, optional, a column "repository", like, for example, a old dnf
> style, with symbol @ + repo?
>
> or a way to customize the output columns?
>
You can use repoquery to do something similar with dnf5
dnf rq --installed --available kernel*
--queryformat="%{full_nevra},%{repoid}\n"  | LC_COLLATE=C sort -t, -b
-k2 | column -t -s,
or if you want to go nuts
dnf rq --installed --available kernel*
--queryformat="%{full_nevra},%{repoid},%{reason},%{from_repo}\n"  |
column -s"," -t | LC_COLLATE=C sort -b -k2

Take a look at man dnf-repoquery and the queryformat tags for some other ideas.
-- 
_______________________________________________
users 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]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to