find rpm from extras

Paul Howarth paul at city-fan.org
Thu Mar 2 08:27:43 UTC 2006


On Thu, 2006-03-02 at 16:05 +1100, Yuandan Zhang wrote:
> Hi,
> 
> >From installed rpm packages, how can I find rpms which were derived
> from fedora extras repository? my system is updated FC4.
> I check rpm --querytags, can't find some thing related to the
> repository.

Try this. It's a bit convoluted but it seems to work. It's looking for
packages signed using the Fedora Extras GPG key:

rpm -qa --qf '%{DSAHEADER} %{NAME}\n' |
	awk 'substr($1,27,8) == "1ac70ce6" { print $2}'

Paul.




More information about the fedora-list mailing list