repoquery format as "dnf list --installed"
dnf list
gives the output like this:
$ dnf list --installed
Installed Packages
CharLS.x86_64 1.0-16.fc28 @fedora
GConf2.x86_64 3.2.6-20.fc28 @fedora
GeoIP.x86_64 1.6.12-3.fc28 @fedora
GeoIP-GeoLite-data.noarch 2018.04-1.fc28 @fedora
...
While dnf repoquery
outputs this:
$ dnf repoquery --installed
CharLS-0:1.0-16.fc28.x86_64
GConf2-0:3.2.6-20.fc28.x86_64
GeoIP-0:1.6.12-3.fc28.x86_64
GeoIP-GeoLite-data-0:2018.04-1.fc28.noarch
...
How to use --qf
flag for dnf repoquery
to get the same nicely formatted output as dnf list
?