Re: Errors installing contrib

From: Christoph Berg <myon(at)debian(dot)org>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org>
Subject: Re: Errors installing contrib
Date: 2013-06-14 08:23:12
Message-ID: 20130614082312.GB10038@msgid.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

Re: Martin Pitt 2013-06-14 <20130614042428(dot)GC3101(at)piware(dot)de>
> Hey Joshua,
>
> Joshua D. Drake [2013-06-13 11:48 -0700]:
> > On a fresh install of precise with just postgresql packages installed:

Was that with the precise pg-9.1 and pg-common packages?

> > root(at)db2:/etc/apt/sources.list.d# apt-get install postgresql-contrib-9.2
> > [...]
> > Setting up postgresql-contrib-9.2 (9.2.4-1.pgdg12.4+1) ...
> > update-alternatives: warning: forcing reinstallation of alternative
> > /usr/share/postgresql/9.2/man/man1/postmaster.1.gz because link
> > group postmaster.1.gz is broken.
>
> Should mostly be harmless as long as "man postmaster" does the right
> thing afterwards (i. e. is for 9.2), but out of interest, which
> postgresql-common version do you have installed. There were some fixes
> for managing the alternatives a while ago:
>
> postgresql-common (135) experimental; urgency=low
> [...]
> * debian/maintscripts-functions: Configure alternatives for manpages in
> -contrib. This will only take effect after (re)installing
> postgresql-contrib-9.2. (Closes: #680571)
>
> And also:
>
> postgresql-common (141) experimental; urgency=low
> [...]
> * debian/maintscripts-functions: Fix configure_client_version to call
> _link_manpages correctly, spotted by Kris Shannon. (Closes: #701602)

What could have happened is:

* pg-9.1 is installed with the buggy _link_manpages call.
* postgresql-common is upgraded
* pg-9.2 is installed from apt.pg.o
* _link_manpages fixes things

... so the above is only the fix for an old bug, not a "new" one.
I'm not sure though.

> Can you please do
>
> dpkg -l postgresql-common
>
> to check the version?

That'd be interesting, yes.

Christoph
--
cb(at)df7cb(dot)de | http://www.df7cb.de/

In response to

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Dave Page 2013-06-27 13:31:44 PostgreSQL 9.3 Beta 2 Now Available
Previous Message Christoph Berg 2013-06-14 07:41:27 Re: postgresql-server 9.3