Re: gpg-pubkey

Gerry Reno <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Seth Vidal wrote:
>
>
> On Tue, 5 May 2009, Gerry Reno wrote:
>
>> In the rpm dbs there are gpg-pubkey-XXXXXXX listing. These mess up 
>> the listing of packages in scripts. Is there a --ignore-keys option 
>> or something similar to rpm or yum that will ignore these entries?
>>
>
> in what kind of scripts are you seeing this?
>
> There's no option to ignore them in rpm but yum list installed 
> shouldn't output them.
>
> However if you're just worried about ignoring them in an rpm -qa 
> output then run:
>
> rpm -qa | grep -v gpg-pubkey
>
> that will filter them out.
>
That's what I've had to do in our own scripts but I thought there might 
be a switch to suppress their output. Thanks.

Regards,
Gerry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.