[Rpm-maint] [rpm-software-management/rpm] Option '--qf' applies only to parameter attached to option '-q', not to each output row (#600)

Panu Matilainen notifications at github.com
Mon Nov 19 13:27:28 UTC 2018


The --qf applies to headers, not output rows. You're asking for two different things about a single header in that query: the requires, and the name + description of the "rpm" package. 

To get the name name + description of all of rpm's dependencies you'll need nested queries, something like:
```rpm -q --whatprovides $(rpm -qR rpm|grep -v ^rpmlib|awk '{print $1'}) --qf '%{NAME} – %{DESCRIPTION}\n'```

Not a bug.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/600#issuecomment-439892208
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181119/86988b7b/attachment.html>


More information about the Rpm-maint mailing list