On Monday 21 September 2009 00:35:38 Ville Skyttä wrote:
> (and if one wants it to be as complete as
> possible, the format is missing epoch, BTW).

the format is what rpm(1) itself understands. rpm doesn't understand epoch in 
queries:

$ rpm -q glibc
glibc-2.10.1-11.i686
glibc-2.10.1-12.x86_64

$ rpm -q glibc-2.10.1-12.x86_64
glibc-2.10.1-12.x86_64

$ rpm -q --qf '%{N}-%{E}:%{V}-%{R}.%{ARCH}\n' glibc
glibc-6:2.10.1-11.i686
glibc-6:2.10.1-12.x86_64

$ rpm -q --qf '%{N}-%{E}:%{V}-%{R}.%{ARCH}\n' glibc-6:2.10.1-12.x86_64
package glibc-6:2.10.1-12.x86_64 is not installed


-- 
glen

_______________________________________________
Bash-completion-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to