Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyPNr-0000KW-81 for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Jan 2013 16:10:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TyPNq-00012n-Lb for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Jan 2013 16:10:34 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyDuc-0005YP-HP for pgsql-bugs@postgresql.org; Thu, 24 Jan 2013 03:55:38 +0000 Received: from mx02.japannext.co.jp ([61.125.130.80]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyDuY-0005T6-Uf for pgsql-bugs@postgresql.org; Thu, 24 Jan 2013 03:55:36 +0000 Received: from localhost (localhost [127.0.0.1]) by mx02.japannext.co.jp (Postfix) with ESMTP id 9EB5B14033C; Thu, 24 Jan 2013 12:55:31 +0900 (JST) Received: from mx02.japannext.co.jp ([127.0.0.1]) by localhost (mmemx02.tk.japannext.co.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bL8faLVc3lqv; Thu, 24 Jan 2013 12:55:31 +0900 (JST) Received: from mmimap01.tk.japannext.co.jp (mmimap01.tk.japannext.co.jp [10.67.16.66]) by mx02.japannext.co.jp (Postfix) with ESMTP; Thu, 24 Jan 2013 12:55:31 +0900 (JST) Received: from jnext-0060.corp.japannext.co.jp (jnext-0060.corp.japannext.co.jp [10.67.17.49]) by mmimap01.tk.japannext.co.jp (Postfix) with ESMTP id 746A11B6404A; Thu, 24 Jan 2013 12:55:31 +0900 (JST) Date: Thu, 24 Jan 2013 12:55:31 +0900 From: Georgi Georgiev To: Devrim =?iso-8859-1?B?R9xORNxa?= Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7823: PGDG packaged pgadmin3_92 removes its /usr/bin/pgadmin3 link Message-ID: <20130124035531.GA18407@jnext-0060.corp.japannext.co.jp> References: <1358968269.19842.4.camel@lenovo01-laptop03.gunduz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1358968269.19842.4.camel@lenovo01-laptop03.gunduz.org> User-Agent: Mutt/1.5.20 (2009-12-10) Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Quoting Devrim G=DCND=DCZ at 23/01/2013-21:11:09(+0200): >=20 > Hi, >=20 > On Tue, 2013-01-22 at 17:13 +0000, georgi-georgiev-pgsql@japannext.co.jp > wrote: > > The following bug has been logged on the website: > >=20 > > Bug reference: 7823 > > Logged by: Georgi Georgiev > > Email address: georgi-georgiev-pgsql@japannext.co.jp > > PostgreSQL version: 9.2.2 > > Operating system: CentOS 6.3 > > Description:=20=20=20=20=20=20=20=20 > >=20 > > Updating pgadmin3_92 removes the /usr/bin/pgadmin3 symlink. There is al= so a > > harmless warning from the post-install scriptlet when it tries to create > > that symlink and it is already there (happens on an update). >=20 > 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=20 Non-fatal POSTIN scriptlet failure in rpm package pgadmin3_92-1.16.1-2.rhel= 6.x86_64 /var/tmp/rpm-tmp.uHi9h7: line 1: {_sbindir}/update-alternatives: No such fi= le or directory warning: %post(pgadmin3_92-1.16.1-2.rhel6.x86_64) scriptlet failed, exit st= atus 127 ... $ rpm -q pgadmin3_92 --scripts postinstall scriptlet (using /bin/sh): {_sbindir}/update-alternatives --install /usr/bin/pgadmin3 pgadmin3 /usr/pg= sql-9.2/bin/pgadmin3 920 preuninstall scriptlet (using /bin/sh): /usr/sbin/update-alternatives --remove pgadmin3 /usr/pgsql-9.2/bin/pgadmin3 --=20 / Georgi Georgiev / I go on working for the same reason a hen / \ Sysadmin Head \ goes on laying eggs. -- H.L. Mencken \ / -SBI Japannext- / / --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs