[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse
Subject:    Re: [opensuse] multiple same-named rpm packages/keys
From:       Leendert Meyer <leen.meyer () home ! nl>
Date:       2006-12-21 21:19:01
Message-ID: 200612212219.01756.leen.meyer () home ! nl
[Download RAW message or body]

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@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic