[opensuse] multiple same-named rpm packages/keys
Hi, # rpm -ql libpng /usr/lib64/libpng.so.3.1.2.8 (and others) # rpm -ihv libpng-1.2.8-17.i586.rpm --force will install the 32-bit libpng (yeah I know you should not do that). After that, `rpm -q` says: # rpm -q libpng libpng-1.2.8-17 libpng-1.2.8-17 and # rpm -e libpng error: "libpng" specifies multiple packages The solution to remove it again is # rpm -e libpng-1.2.8-17.i586 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*? -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Donnerstag, 21. Dezember 2006 23:03 schrieb Jan Engelhardt:
23:02 ichi:~ > rpm -e gpg-pubkey-9c800aca-40d8063e error: "gpg-pubkey-9c800aca-40d8063e" specifies multiple packages
man rpm: rpm {-e|--erase} [--allmatches] [--nodeps] [--noscripts] [--notriggers] [--repackage] [--test] PACKAGE_NAME ... The following options may also be used: --allmatches Remove all versions of the package which match PACKAGE_NAME. Normally an error is issued if PACKAGE_NAME matches multiple packages. -- gpg key fingerprint: 5F64 4C92 9B77 DE37 D184 C5F9 B013 44E7 27BD 763C -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
# 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 would use rpm -e gpg-pubkey --allmatches
That will get all public keys installed. John -- Registered Linux User 263680, get counted at http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Jan Engelhardt
-
John Pierce
-
Leendert Meyer
-
Mathias Homann