From: Christoph Berg <cb@df7cb.de>
To: PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Subject: Re: Still errors on 9.2 with precise
Date: Mon, 30 Dec 2013 17:39:03 +0200
Message-ID: <20131230153903.GA16147@msgid.df7cb.de> (raw)
In-Reply-To: <20131218104832.GA22202@msgid.df7cb.de>
References: <51DC641C.3090706@commandprompt.com>
<20131218104832.GA22202@msgid.df7cb.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>
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 status 2
>
> 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 version)
ii postgresql-9.1 9.1.11-0ubuntu0.12.04 object-relational SQL database, version 9.1 server
iU postgresql-9.2 9.2.6-1.pgdg12.4+1 object-relational SQL database, version 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 PostgreSQL 9.1
iF postgresql-client-9.2 9.2.6-1.pgdg12.4+1 front-end programs for PostgreSQL 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 PostgreSQL
iU postgresql-contrib-9.2 9.2.6-1.pgdg12.4+1 additional facilities for PostgreSQL
ii postgresql-server-dev-9.1 9.1.11-0ubuntu0.12.04 development files for PostgreSQL 9.1 server-side programming
ii postgresql-server-dev-9.2 9.2.6-1.pgdg12.4+1 development files for PostgreSQL 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 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
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 (= 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 (= 9.2.6-1.pgdg12.4+1); however:
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/8183253https://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
--
cb@df7cb.de | http://www.df7cb.de/Attachments:
signature.asc (application/pgp-signature, 835B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-pkg-debian@postgresql.org
Cc: cb@df7cb.de
Subject: Re: Still errors on 9.2 with precise
In-Reply-To: <20131230153903.GA16147@msgid.df7cb.de>
References: <51DC641C.3090706@commandprompt.com> <20131218104832.GA22202@msgid.df7cb.de> <20131230153903.GA16147@msgid.df7cb.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox