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

2017-09-06 Thread Christoph Berg
Control: tags -1 moreinfo

Re: Bryan Henderson 2017-09-06 <98655.bry...@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


signature.asc
Description: PGP signature
___
Pkg-postgresql-public mailing list
Pkg-postgresql-public@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public

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

2017-09-05 Thread Bryan Henderson
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.

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.

-- 
Bryan Henderson   San Jose, California

___
Pkg-postgresql-public mailing list
Pkg-postgresql-public@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public