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@pg-server ~]# rpm -qa | grep slony1
> slony1-92-2.1.2-1.rhel5
> slony1-92-2.1.3-1.rhel5
> 
> [root@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 <[email protected]> 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@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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general

Reply via email to