On Dec 21 2006 22:19, Leendert Meyer wrote:
>> Now here is the real problem:
>>
>> # rpm -qa 'gpg*'
>> gpg-pubkey-0dfb3188-41ed929b
>> gpg-pubkey-0dfb3188-41ed929b
>> gpg-pubkey-3d25d3d9-36e12d04
>> gpg-pubkey-3d25d3d9-36e12d04
>> gpg-pubkey-58857177-3fbba87b
>> gpg-pubkey-844c4360-44b3b916
>> gpg-pubkey-8eaa1216-4282490e
>> gpg-pubkey-9c800aca-40d8063e
>> gpg-pubkey-9c800aca-40d8063e
>>
>> How do I remove *these*?
>
>I'm not quite sure, but I think those can be handled as package
>names, so
>
> rpm -qa 'gpg*' | xargs -i rpm -e {}
>
>(or a simpler version?) should suffice.
>Just try rpm -e on one of them.
I would not be posting if it was that easy :-(
23:02 ichi:~ > rpm -e gpg-pubkey-9c800aca-40d8063e
error: "gpg-pubkey-9c800aca-40d8063e" specifies multiple packages
xargs does not change that fact.
>
>Checking 'man:rpm':
>
>> Finally, public keys can be erased after importing just like
>> packages. Here's how to remove the Red Hat GPG/DSA key
>>
>> rpm -e gpg-pubkey-db42a60e
>
>Hmm, seems I was right...
-`J'
--
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]