Devrim GÜNDÜZ devrim at gunduz.org
Sun Apr 21 13:11:20 PDT 2013
Hi,

On Thu, 2013-04-18 at 14:19 +0000, Mike James wrote:
> Hi, I'm running RHEL 5.9, 64-bit, fully patched. I've installed the pgdg92 repo and I've installed Postgresql-9.2.4 and slony1. Today, I was doing some troubleshooting and I found two versions of slony1-92 installed on the system. I tried to uninstall the older version but I get an error. Any ideas what caused this error, or how to resolve it? I rebuilt the rpm database, also ran "yum clean all". The problem is not fixed.
> 
> [root at pg-server ~]# rpm -qa | grep slony1
> slony1-92-2.1.2-1.rhel5
> slony1-92-2.1.3-1.rhel5
> 
> [root at pg-server ~]# rpm -e slony1-92-2.1.2
> error: %postun(slony1-92-2.1.2-1.rhel5.x86_64) scriptlet failed, exit status 5

This is something that I fixed in 2.1.3:

* Tue Feb 19 2013 Devrim Gunduz <devrim at gunduz.org> 2.1.3-1
- Update to 2.1.3
- Fix init script names in %%postun and %%preun.

> And there are still 2 versions of slony in the rpm database:
> 
> [root at pg-server ~]# rpm -qa | grep slony1
> slony1-92-2.1.2-1.rhel5
> slony1-92-2.1.3-1.rhel5

rpm -e --noscripts slony1-91-2.1.2 

will do the trick. It will not appear in other updates.

Regards,
-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.slony.info/pipermail/slony1-general/attachments/20130421/aaa490c0/attachment.pgp 


More information about the Slony1-general mailing list