Quoting Devrim GÜNDÜZ at 23/01/2013-21:11:09(+0200):
> 
> Hi,
> 
> On Tue, 2013-01-22 at 17:13 +0000, georgi-georgiev-pg...@japannext.co.jp
> wrote:
> > The following bug has been logged on the website:
> > 
> > Bug reference:      7823
> > Logged by:          Georgi Georgiev
> > Email address:      georgi-georgiev-pg...@japannext.co.jp
> > PostgreSQL version: 9.2.2
> > Operating system:   CentOS 6.3
> > Description:        
> > 
> > Updating pgadmin3_92 removes the /usr/bin/pgadmin3 symlink. There is also a
> > harmless warning from the post-install scriptlet when it tries to create
> > that symlink and it is already there (happens on an update).
> 
> Should be fixed with 1.16.1-2. Please check.

Thanks for the quick turnaround. But there seems to be a typo now, so
the %post is not working:

$ sudo yum update pgadmin3_92
Running Transaction
  Updating   : pgadmin3_92-1.16.1-2.rhel6.x86_64                            1/2 
Non-fatal POSTIN scriptlet failure in rpm package 
pgadmin3_92-1.16.1-2.rhel6.x86_64
/var/tmp/rpm-tmp.uHi9h7: line 1: {_sbindir}/update-alternatives: No such file 
or directory
warning: %post(pgadmin3_92-1.16.1-2.rhel6.x86_64) scriptlet failed, exit status 
127
...

$ rpm -q pgadmin3_92 --scripts
postinstall scriptlet (using /bin/sh):
{_sbindir}/update-alternatives --install /usr/bin/pgadmin3 pgadmin3 
/usr/pgsql-9.2/bin/pgadmin3 920
preuninstall scriptlet (using /bin/sh):
/usr/sbin/update-alternatives --remove pgadmin3 /usr/pgsql-9.2/bin/pgadmin3

-- 
 /   Georgi Georgiev    / I go on working for the same reason a hen   /
\     Sysadmin Head    \  goes on laying eggs. -- H.L. Mencken       \
 /   -SBI Japannext-    /                                             /


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to