find rpm from extras

Yuandan Zhang yuandan.zhang at gmail.com
Thu Mar 2 22:13:44 UTC 2006


On 3/2/06, Paul Howarth <paul at city-fan.org> wrote:
>
> 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}'


thanks alot, that perfectly works.

Paul.
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060303/542a6139/attachment-0001.htm>


More information about the fedora-list mailing list