removing rpm imported gpg-key
Mon, 11/22/2010 - 12:17 — sandipWhile install the puppet dashboard, I noticed puppetlabs yum repo changed from using "http://yum.puppetlabs.com/RPM
Below is how I got around to removing all of the imported gpgkeys:
Find GPG keys and owners:
rpm -qa gpg-pubkey\* --qf "%{version}-%{release} %{summary}\n"
Remove corresponding GPG Key.
rpm -e gpg-pubkey-8347a27f-4afe0f12 --allmatches
Replacing sysklogd with rsyslog
Sun, 11/21/2010 - 00:56 — sandipIf you need to replace old sysklogd with recent rsyslog on centos, `rpm -e --nodeps sysklogd` is rather kludgy as yum will remove initscripts, upon which most of the system is dependent on. However, it is possible to install and remove via the yum shell in one go, which resolves the dependency issues.
# yum shell
> install rsyslog
> remove sysklogd
> run
> quit
makedepend on CentOS
Tue, 06/10/2008 - 00:02 — sandipRecently I've had to provide a developer with the makedep tool. It is available via imake rpm. However, it is deprecated and when installing automake and autoconf, it should automatically get installed as it is a required package by autoconf.
- sandip's blog
- Login or register to post comments
nsis rpm for redhat 4 (update 5)
Fri, 09/14/2007 - 12:04 — sandipRecently built an rpm for a client that needed to install nsis-2.29 on several redhat boxes. nsis-2.28 for centos/fedora is readily available at repo.calcforge.org .
I downloaded the centos source rpm and rebuilt it for redhat4 as described below: