Re: Errors installing contrib - Mailing list pgsql-pkg-debian

From Christoph Berg
Subject Re: Errors installing contrib
Date
Msg-id 20130614082312.GB10038@msgid.df7cb.de
Whole thread Raw
In response to Errors installing contrib  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-pkg-debian
Re: Martin Pitt 2013-06-14 <20130614042428.GC3101@piware.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@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@df7cb.de | http://www.df7cb.de/


pgsql-pkg-debian by date:

Previous
From: Christoph Berg
Date:
Subject: Re: postgresql-server 9.3
Next
From: Christoph Berg
Date:
Subject: Re: [ANNOUNCE] PostgreSQL 9.3 Beta 2 Now Available