On Fri, 23 Jan 2026 at 16:04, Dario Lesca <[email protected]> wrote:
> Il giorno ven, 23/01/2026 alle 09.15 +1100, Stephen Morris ha scritto:
>
> Also "dnf info" does not provide the info "Installed" or "Available"
> into header of package (why not?), then it is not usable like a old
> "dnf list".
dnf list does indicate installed/available with headings for each. It's
just not immediately obvious/terribly intuitive if you're expecting that
indicator to be inline alongside the package.
$ dnf list | grep -E 'Installed packages|Available packages|swap'
Installed packages
libblockdev-swap.x86_64
3.4.0-1.fc43
fedora
Available packages
libblockdev-swap.i686
3.4.0-1.fc43
fedora
<snip>
In your examples, your grep is filtering out the indication of installed vs
available.
I imagine it would be pretty easy to knock up a little bit of awk that
would append @installed / @available or similar alongside packages keying
off those headings.
--
_______________________________________________
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