[Pkg-postgresql-public] Bug#874427: /usr/bin/pg_config in multiple packages

Christoph Berg myon at debian.org
Wed Sep 6 07:08:16 UTC 2017


Control: tags -1 moreinfo

Re: Bryan Henderson 2017-09-06 <98655.bryanh at giraffe-data.com>
> Package: postgresql-common
> Version: 165+deb8u2
> 
> Both postgresql-common and libpq-dev install the file /usr/bin/pg_config .
> That's a bug, isn't it?  dpkg --install seems to think so.

Hi Bryan,

that's not a bug, the /usr/bin/pg_config from libpq-dev is moved aside
by postgresql-common's preinst script via dpkg-divert:

diversion by postgresql-common from: /usr/bin/pg_config
diversion by postgresql-common to: /usr/bin/pg_config.libpq-dev
libpq-dev, postgresql-common: /usr/bin/pg_config

> This was not a problem for me before an attempted update a few days ago; Now I
> have broken dependencies that I cannot fix because I cannot install the
> current libpq-dev because of the file conflict.  I don't know what changed.

If the diversion didn't work for you, something is messed up. Does
"apt-get install --reinstall postgresql-common" fix things?

If there's still problems, please attach the terminal output of
apt and dpkg so we can have a look.

Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20170906/75b69118/attachment.sig>


More information about the Pkg-postgresql-public mailing list