Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UaA29-0001PR-Qr for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 08 May 2013 19:28:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UaA29-00037H-Ab for pgsql-pkg-debian@arkaria.postgresql.org; Wed, 08 May 2013 19:28:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UaA27-00036C-Qc for pgsql-pkg-debian@postgresql.org; Wed, 08 May 2013 19:28:11 +0000 Received: from cl-2390.ham-01.de.sixxs.net ([2001:6f8:900:955::2] helo=feynman.df7cb.de) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UaA23-00088b-CB for pgsql-pkg-debian@postgresql.org; Wed, 08 May 2013 19:28:11 +0000 Received: from msgid.df7cb.de (lehmann.df7cb.de [IPv6:2001:6f8:10ee:e:136::2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 928A06972A; Wed, 8 May 2013 21:28:03 +0200 (CEST) Date: Wed, 8 May 2013 12:27:58 -0700 From: Christoph Berg To: "Joshua D. Drake" Cc: PostgreSQL in Debian Subject: Re: Problems with apt.postgresql.org and precise Message-ID: <20130508192711.GA9243@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , "Joshua D. Drake" , PostgreSQL in Debian References: <5189CD70.2050306@commandprompt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5189CD70.2050306@commandprompt.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) 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 Re: Joshua D. Drake 2013-05-07 <5189CD70.2050306@commandprompt.com> > I have a bare precise (not changes except network). I tried to > follow the instructions here: > > http://wiki.postgresql.org/wiki/Apt Hi Joshua, this bug was believed to be fixed, but apparently there is a corner case left. Thanks for the detailed log, it will allow us to look into this. As a workaround, the issue should be resolved by running update-alternatives --remove postmaster.1.gz /usr/share/postgresql/9.1/man/man1/postmaster.1.gz and then reinstalling postgresql-9.1: apt-get install -f apt-get install --reinstall postgresql-9.1 > Which got me this: > > root@precise0:/etc/apt/sources.list.d# sudo apt-get install > postgresql-9.2 postgresql-client-9.2 postgresql-contrib-9.2 > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following extra packages will be installed: > libpq5 pgdg-keyring postgresql-client-common postgresql-common > Suggested packages: > oidentd ident-server locales-all postgresql-doc-9.2 libdbd-pg-perl > The following NEW packages will be installed: > pgdg-keyring postgresql-9.2 postgresql-client-9.2 postgresql-contrib-9.2 > The following packages will be upgraded: > libpq5 postgresql-client-common postgresql-common > 3 upgraded, 4 newly installed, 0 to remove and 8 not upgraded. > Need to get 6,718 kB of archives. > After this operation, 25.0 MB of additional disk space will be used. > Do you want to continue [Y/n]? y > Get:1 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main > libpq5 amd64 9.2.4-1.pgdg12.4+1 [536 kB] > Get:2 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main > pgdg-keyring all 2012.1 [4,102 B] > Get:3 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main > postgresql-client-common all 142.pgdg12.4+1 [68.4 kB] > Get:4 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main > postgresql-client-9.2 amd64 9.2.4-1.pgdg12.4+1 [1,394 kB] > Get:5 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main > postgresql-common all 142.pgdg12.4+1 [153 kB] > Get:6 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main > postgresql-9.2 amd64 9.2.4-1.pgdg12.4+1 [3,768 kB] > Get:7 http://apt.postgresql.org/pub/repos/apt/ precise-pgdg/main > postgresql-contrib-9.2 amd64 9.2.4-1.pgdg12.4+1 [794 kB] > Fetched 6,718 kB in 4s (1,446 kB/s) > Preconfiguring packages ... > (Reading database ... 78531 files and directories currently installed.) > Preparing to replace libpq5 9.1.9-0ubuntu12.04 (using > .../libpq5_9.2.4-1.pgdg12.4+1_amd64.deb) ... > Unpacking replacement libpq5 ... > Selecting previously unselected package pgdg-keyring. > Unpacking pgdg-keyring (from .../pgdg-keyring_2012.1_all.deb) ... > Preparing to replace postgresql-client-common 129ubuntu1 (using > .../postgresql-client-common_142.pgdg12.4+1_all.deb) ... > Unpacking replacement postgresql-client-common ... > Selecting previously unselected package postgresql-client-9.2. > Unpacking postgresql-client-9.2 (from > .../postgresql-client-9.2_9.2.4-1.pgdg12.4+1_amd64.deb) ... > Preparing to replace postgresql-common 129ubuntu1 (using > .../postgresql-common_142.pgdg12.4+1_all.deb) ... > Leaving 'diversion of /usr/bin/pg_config to > /usr/bin/pg_config.libpq-dev by postgresql-common' > Unpacking replacement postgresql-common ... > Selecting previously unselected package postgresql-9.2. > Unpacking postgresql-9.2 (from > .../postgresql-9.2_9.2.4-1.pgdg12.4+1_amd64.deb) ... > Selecting previously unselected package postgresql-contrib-9.2. > Unpacking postgresql-contrib-9.2 (from > .../postgresql-contrib-9.2_9.2.4-1.pgdg12.4+1_amd64.deb) ... > Processing triggers for man-db ... > Processing triggers for ureadahead ... > ureadahead will be reprofiled on next reboot > Setting up libpq5 (9.2.4-1.pgdg12.4+1) ... > Setting up pgdg-keyring (2012.1) ... > Setting up postgresql-client-common (142.pgdg12.4+1) ... > 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 status 2 > Setting up postgresql-common (142.pgdg12.4+1) ... > Installing new version of config file /etc/init.d/postgresql ... > Installing new version of config file > /etc/sysctl.d/30-postgresql-shm.conf ... > * Starting PostgreSQL 9.1 database server > > > [ OK ] > 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 > No apport report written because the error message indicates its a > followup error from a previous failure. > > dpkg: dependency problems prevent > configuration of postgresql-contrib-9.2: > postgresql-contrib-9.2 depends on postgresql-9.2 (= > 9.2.4-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 > No apport report written because the error message indicates its a > followup error from a previous failure. > > Processing triggers for libc-bin ... > ldconfig deferred processing now taking place > Errors were encountered while processing: > postgresql-client-9.2 > postgresql-9.2 > postgresql-contrib-9.2 > E: Sub-process /usr/bin/dpkg returned an error code (1) > root@precise0:/etc/apt/sources.list.d# > > -- > Command Prompt, Inc. - http://www.commandprompt.com/ > PostgreSQL Support, Training, Professional Services and Development > High Availability, Oracle Conversion, Postgres-XC > @cmdpromptinc - 509-416-6579 > Christoph -- cb@df7cb.de | http://www.df7cb.de/ -- Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-pkg-debian