Mailinglist Archive: opensuse (4633 mails)

< Previous Next >
Re: [opensuse] multiple same-named rpm packages/keys
  • From: Leendert Meyer <leen.meyer@xxxxxxx>
  • Date: Thu, 21 Dec 2006 22:19:01 +0100
  • Message-id: <200612212219.01756.leen.meyer@xxxxxxx>
On Thursday 21 December 2006 21:03, Jan Engelhardt wrote:

> Hi,

Hi

[8<]
> 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.

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...

Cheers,

Leen
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References