[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

How to distinguish rpms from public keys in rpm -q



Hello,

is there any way for distinguishing 'real' RPM's from public keys when
querying the rpm DB (via rpm -q)? Relying on the %{PUBKEYS} tag is not
sufficient (e.g. the rpm RPM has a pubkey attached), and relying on the
%{NAME} (e.g. gpg-pubkey) is hacky. Why are RPMs and pubkeys
listed(treated) the same way?

thanks in advance,
German

------------------------------------------------------
German Cancio Melia IT/FIO    CERN   CH-1211 Geneve 23
tel. +41 2276 70921        mail: German Cancio cern ch
------------------------------------------------------


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]