Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vxew0-00050p-Td for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 30 Dec 2013 15:39:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vxew0-0007iA-CH for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 30 Dec 2013 15:39:16 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vxevz-0007gu-9J for pgsql-pkg-debian@postgresql.org; Mon, 30 Dec 2013 15:39:15 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vxevr-0007NE-C5 for pgsql-pkg-debian@postgresql.org; Mon, 30 Dec 2013 15:39:14 +0000 Received: from msgid.df7cb.de (unknown [188.24.152.77]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 6E194696E8 for ; Mon, 30 Dec 2013 16:39:04 +0100 (CET) Date: Mon, 30 Dec 2013 17:39:03 +0200 From: Christoph Berg To: PostgreSQL in Debian Subject: Re: Still errors on 9.2 with precise Message-ID: <20131230153903.GA16147@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , PostgreSQL in Debian References: <51DC641C.3090706@commandprompt.com> <20131218104832.GA22202@msgid.df7cb.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <20131218104832.GA22202@msgid.df7cb.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -2.0 (--) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Re: To Joshua D. Drake 2013-12-18 <20131218104832.GA22202@msgid.df7cb.de> > Re: Joshua D. Drake 2013-07-09 <51DC641C.3090706@commandprompt.com> > > Setting up postgresql-client-9.2 (9.2.4-1.pgdg12.4+1) ... > > update-alternatives: error: alternative pg_basebackup.1.gz can't be > > slave of psql.1.gz: it is a slave of postmaster.1.gz > > dpkg: error processing postgresql-client-9.2 (--configure): > > subprocess installed post-installation script returned error exit stat= us 2 >=20 > Fwiw, this was fixed in the 9.1 packages, but we forgot to include the > same fix in the 9.2 packages. Though the issue should have disappered > now because no "bad" 9.1.small or 9.2.small-or-beta packages should be > around anymore. It just reappeared on IRC: ubuntu@postgres91:~$ dpkg -l|grep postgresql ii pgdg-keyring 2013.2 keyring for apt.postgresql.org ii postgresql 9.1+129ubuntu1 object-relational SQL database (supported vers= ion) ii postgresql-9.1 9.1.11-0ubuntu0.12.04 object-relational SQL database, ver= sion 9.1 server iU postgresql-9.2 9.2.6-1.pgdg12.4+1 object-relational SQL database, versio= n 9.2 server iU postgresql-9.2-dbg 9.2.6-1.pgdg12.4+1 debug symbols for postgresql-9.2 iU postgresql-9.2-repmgr 2.0~beta1-2.pgdg12.4+1 replication manager support= modules for PostgreSQL 9.2 ii postgresql-client-9.1 9.1.11-0ubuntu0.12.04 front-end programs for Postg= reSQL 9.1 iF postgresql-client-9.2 9.2.6-1.pgdg12.4+1 front-end programs for PostgreS= QL 9.2 ii postgresql-client-common 151.pgdg12.4+1 manager for multiple PostgreSQL = client versions ii postgresql-common 151.pgdg12.4+1 PostgreSQL database-cluster manager ii postgresql-contrib-9.1 9.1.11-0ubuntu0.12.04 additional facilities for P= ostgreSQL iU postgresql-contrib-9.2 9.2.6-1.pgdg12.4+1 additional facilities for Post= greSQL ii postgresql-server-dev-9.1 9.1.11-0ubuntu0.12.04 development files for Po= stgreSQL 9.1 server-side programming ii postgresql-server-dev-9.2 9.2.6-1.pgdg12.4+1 development files for Postg= reSQL 9.2 server-side programming ubuntu@postgres91:~$ sudo ls -l /var/lib/postgresql/9.2/main/ [sudo] password for ubuntu: total 0 ubuntu@postgres91:~$ postgresql-server-dev-9.2 is already the newest version. The following package was automatically installed and is no longer required: libkrb5-dev Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. 5 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? Y Setting up postgresql-client-9.2 (9.2.6-1.pgdg12.4+1) ... update-alternatives: error: alternative pg_basebackup.1.gz can't be slave o= f psql.1.gz: it is a slave of postmaster.1.gz dpkg: error processing postgresql-client-9.2 (--configure): subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of postgresql-9.2: postgresql-9.2 depends on postgresql-client-9.2; however: Package postgresql-client-9.2 is not configured yet. dpkg: error processing postgresql-9.2 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of postgresql-contrib-9.2: postgresql-contrib-9.2 depends on postgresql-9.2 (=3D 9.2.6-1.pgdg12.4+1); = however: Package postgresql-9.2 is not configured yet. dpkg: error processing postgresql-contrib-9.2 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of postgresql-9.2-dbg: postgresql-9.2-dbg depends on postgresql-9.2 (=3D 9.2.6-1.pgdg12.4+1); howe= ver: Package postgresql-9.2 is not configured yet. dpkg: error processing postgresql-9.2-dbg (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of postgresql-9.2-repmgr: postgresql-9.2-repmgr depends on postgresql-9.2; however: Package postgresql-9.2 is not configured yet. dpkg: error processing postgresql-9.2-repmgr (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates it's a follow-= up error from a previous failure. No apport report written because the error message indicates it's a follow-= up error from a previous failure. No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached Errors were encountered while processing: postgresql-client-9.2 postgresql-9.2 postgresql-contrib-9.2 postgresql-9.2-dbg postgresql-9.2-repmgr E: Sub-process /usr/bin/dpkg returned an error code (1) ubuntu@postgres91:~$ https://gist.github.com/milosgajdos83/8183253 https://gist.github.com/milosgajdos83/8183289 The user reports that 9.1.11 was installed before 9.2 was tried, so it looks like there's still some upgrade path that doesn't trigger the update-alternatives --remove fix in postgresql-9.1.postinst. Maybe we should issue a more general fix there. Christoph --=20 cb@df7cb.de | http://www.df7cb.de/ --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBCAAGBQJSwZOUAAoJEExaa6sS0qeurKIQALEXOyWUlUORv9f1ZSz8Il3w DrM4frMrv7rheQgNVmZLl7DQnojEs8M5fZ7Sf981pVP+sJXec/LHBp6DogYdUgZ/ iolIXAUKYksGt3JQ20R3OtTEU2Y07CYjvFuwevffO2m9Q5BPJrUh5G6iydC7Z0W7 Mxpr9vwasTy56zWf2mr4UNFyJ8TWmj0LvUPFJyuQ00v7T1q1iCHpFZXDxue5Exl2 T7iKaFOsdsETr7ckWONS1xZJpTO8CGHjp5CBno8qR/IsA44f9lv9oBPF6NLlwuHF 2yDlLCmC9Ja6y8nZJq1Uei5hqv0eSk+KC14BMjSCIObOlaJQQ2KpbsBOy+RLdESF 6bcgIb7tqr1xnPY7lKeXumkCAVkJ4dagOzQ47m5RPBNhh+/qFzyzEIUcS3fETO4K wANG02whbnEx+N8lu8uFA27O4yTiUGI+CMvUEAMyZ86Dah+pXk5u28HHbpyqy+q0 +DjvPEJ7Ndflx6w+j2NCZANOEgy6FVX/CDDIVC+VKbYfIhb+voa37cfTrCjk+J4y E8weShUW6YqI7BBpyE356lQCZBPJGHGSK4BKSxbY6eajR3u5oXiLEo3M7o4ZrOw9 GDbq2+tYpZPexCW8f8aa9rZO+TJgHDEOlIaBkhI81aia0s5q9c1aGQUjfwAFFkAr 1phHeLOpDIRiOYK6JM7S =BtrK -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--