pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Errors installing contrib
3+ messages / 3 participants
[nested] [flat]

* Errors installing contrib
@ 2013-06-13 18:48  Joshua D. Drake <jd@commandprompt.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Joshua D. Drake @ 2013-06-13 18:48 UTC (permalink / raw)
  To: pgsql-pkg-debian


Hello,

On a fresh install of precise with just postgresql packages installed:

root@db2:/etc/apt/sources.list.d# apt-get install postgresql-contrib-9.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
   libossp-uuid16 libxslt1.1
Suggested packages:
   uuid libdbd-pg-perl
The following NEW packages will be installed:
   libossp-uuid16 libxslt1.1 postgresql-contrib-9.2
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,013 kB of archives.
After this operation, 2,766 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirrors.service.networklayer.com/ubuntu/ 
precise-updates/main libxslt1.1 amd64 1.1.26-8ubuntu1.3 [167 kB]
Get:2 http://mirrors.service.networklayer.com/ubuntu/ precise/main 
libossp-uuid16 amd64 1.6.2-1.1build3 [51.4 kB]
Get:3 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 1,013 kB in 0s (1,662 kB/s)
Selecting previously unselected package libxslt1.1.
(Reading database ... 65858 files and directories currently installed.)
Unpacking libxslt1.1 (from .../libxslt1.1_1.1.26-8ubuntu1.3_amd64.deb) ...
Selecting previously unselected package libossp-uuid16.
Unpacking libossp-uuid16 (from 
.../libossp-uuid16_1.6.2-1.1build3_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) ...
Setting up libxslt1.1 (1.1.26-8ubuntu1.3) ...
Setting up libossp-uuid16 (1.6.2-1.1build3) ...
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.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place


Note the forcing reinstallation line. Not a huge deal but there ya go.

JD
-- 
Command Prompt, Inc. - http://www.commandprompt.com/  509-416-6579
PostgreSQL Support, Training, Professional Services and Development
High Availability, Oracle Conversion, Postgres-XC, @cmdpromptinc
For my dreams of your image that blossoms
    a rose in the deeps of my heart. - W.B. Yeats


-- 
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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Errors installing contrib
@ 2013-06-14 04:24  Martin Pitt <mpitt@debian.org>
  parent: Joshua D. Drake <jd@commandprompt.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Martin Pitt @ 2013-06-14 04:24 UTC (permalink / raw)
  To: pgsql-pkg-debian

Hey Joshua,

Joshua D. Drake [2013-06-13 11:48 -0700]:
> On a fresh install of precise with just postgresql packages installed:
> 
> 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)

Can you please do

  dpkg -l postgresql-common

to check the version?

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


-- 
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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Errors installing contrib
@ 2013-06-14 08:23  Christoph Berg <myon@debian.org>
  parent: Joshua D. Drake <jd@commandprompt.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Christoph Berg @ 2013-06-14 08:23 UTC (permalink / raw)
  To: Joshua D. Drake <jd@commandprompt.com>; +Cc: 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/


-- 
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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2013-06-14 08:23 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-06-13 18:48 Errors installing contrib Joshua D. Drake <jd@commandprompt.com>
2013-06-14 04:24 ` Martin Pitt <mpitt@debian.org>
2013-06-14 08:23 ` Christoph Berg <myon@debian.org>

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