[Pkg-postgresql-public] Bug#874427: marked as done (/usr/bin/pg_config in multiple packages)

2017-09-06 Thread Debian Bug Tracking System
Your message dated Wed, 6 Sep 2017 19:53:40 +0200
with message-id <20170906175340.x53apufhpvif5...@msg.df7cb.de>
and subject line Re: Bug#874427: /usr/bin/pg_config in multiple packages
has caused the Debian Bug report #874427,
regarding /usr/bin/pg_config in multiple packages
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
874427: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874427
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Re: Bryan Henderson 2017-09-06 <49166.bry...@giraffe-data.com>
> The only thing I can think of that I did out of the ordinary to cause this is
> that I don't normally update my system by installing all the new packages at
> once; I install them a few at a time to limit the damage if something breaks.
> So I may have updated Postgres packages in a different order than is usual.

The packages should actually cope with that. I don't think we can
really figure out now what had happened when you got into that
situation, given everything works again, so I'll close the bug now.

> Anyway, I'm glad to know how this diversion works so if this happens again, I
> can repair it.

The logic there hasn't changed for years, and your report was the
first time I've heard of problems with it, so it's quite unlikely
you'll hit it again. Hopefully :)

Thanks for reporting!
Christoph--- End Message ---
___
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-06 Thread Bryan Henderson
>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:

Thanks; I figured I was missing something like that.

>Does "apt-get install --reinstall postgresql-common" fix things?

apt-get install --reinstall refuses to run because of the broken dependency
(which I can't fix until I get this fixed), so I just did the
'dpkg --install' manually and that fixed it.


If you want a post mortem:

Before I started, there is no diversion:

  root@rhino:/tmp# dpkg --search /usr/bin/pg_config
  postgresql-common, libpq-dev: /usr/bin/pg_config

The first reinstallation says it's ignoring the request to rename:

  root@rhino:/tmp# dpkg --install postgresql-common_165+deb8u2_all.deb
  (Reading database ... 86016 files and directories currently installed.)
  Preparing to unpack postgresql-common_165+deb8u2_all.deb ...
  Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by 
post\
  gresql-common'
  Ignoring request to rename file '/usr/bin/pg_config' owned by diverting 
package\
   'postgresql-common'
  Unpacking postgresql-common (165+deb8u2) over (165+deb8u2) ...
  Setting up postgresql-common (165+deb8u2) ...
  Processing triggers for systemd (215-17+deb8u7) ...
  Processing triggers for man-db (2.7.0.2-5) ...

And it did:

  root@rhino:/tmp# ls /usr/bin/pg_config*
  /usr/bin/pg_config

A second reinstallation is different:

  root@rhino:/tmp# dpkg --install postgresql-common_165+deb8u2_all.deb
  (Reading database ... 86017 files and directories currently installed.)
  Preparing to unpack postgresql-common_165+deb8u2_all.deb ...
  Leaving 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by 
pos\
  tgresql-common'
  Unpacking postgresql-common (165+deb8u2) over (165+deb8u2) ...
  Setting up postgresql-common (165+deb8u2) ...
  Processing triggers for systemd (215-17+deb8u7) ...
  Processing triggers for man-db (2.7.0.2-5) ...

And now it's fixed:

  root@rhino:/tmp# dpkg --search /usr/bin/pg_config
  diversion by postgresql-common from: /usr/bin/pg_config
  diversion by postgresql-common to: /usr/bin/pg_config.libpq-dev
  postgresql-common, libpq-dev: /usr/bin/pg_config

  root@rhino:/tmp# ls /usr/bin/pg_config*
  /usr/bin/pg_config  /usr/bin/pg_config.libpq-dev

The only thing I can think of that I did out of the ordinary to cause this is
that I don't normally update my system by installing all the new packages at
once; I install them a few at a time to limit the damage if something breaks.
So I may have updated Postgres packages in a different order than is usual.

Anyway, I'm glad to know how this diversion works so if this happens again, I
can repair it.

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


[Pkg-postgresql-public] postgresql-q3c_1.5.0-2_source.changes ACCEPTED into unstable

2017-09-06 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Wed, 06 Sep 2017 09:02:30 +0200
Source: postgresql-q3c
Binary: postgresql-9.6-q3c
Architecture: source
Version: 1.5.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers 

Changed-By: Ole Streicher 
Description:
 postgresql-9.6-q3c - PostgreSQL 9.6 extension used for indexing the sky
Changes:
 postgresql-q3c (1.5.0-2) unstable; urgency=medium
 .
   * Add Markus Nullmeier as Co-maintainer
   * Push Standards-Version to 4.1.0. No changes needed.
   * Add d/u/metadata
   * Fix short license name
   * Update regression tests. Fixes CI test failures on ppc64el+i386
   * Fix CI test dependencies
Checksums-Sha1:
 bc322788ee2c580d33c2e7048afb6ab6fb6c876d 2207 postgresql-q3c_1.5.0-2.dsc
 92ad1a3d06bad8b5b89b49fbccd38bd456a77786 3720 
postgresql-q3c_1.5.0-2.debian.tar.xz
Checksums-Sha256:
 946ff1cddd81b28cb338aeef6a6e64238f18a2a953c3a8e36c4c510a4e7207c3 2207 
postgresql-q3c_1.5.0-2.dsc
 8a94aa367b909c3a7bd1968476e1be1afe1de1974a52f9fe74d7c52f2c4f20d9 3720 
postgresql-q3c_1.5.0-2.debian.tar.xz
Files:
 417f0378e91523c4bf688143162598f6 2207 database optional 
postgresql-q3c_1.5.0-2.dsc
 8c068589fd6b2e82ca784fecaf85a9d1 3720 database optional 
postgresql-q3c_1.5.0-2.debian.tar.xz

-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAlmvnrgACgkQcRWv0HcQ
3PellQ//RKGLsOG5noA3mDtrkNKu5LKazUf7Y7w7dphKXasTefqEu1Q0pr7NB1zb
AcTb8lgpNFwBS6DS8IOF5I6D3YV3US8YdINbC6M1T+etzWcENDlMLVzjfhEmnxPA
zzUF8SpDt+KhNFLumj+jgrh9f/EWVLPEZKLUI6k0xqD9CXx15LlxIbYj1pBtE8Gr
ENnN+XKVYlbjxe+qGoBcu/q7pOyDGajY1EGD+kfNHGoBIohiXjsvNrL58aUkJ5ew
lQNkhQGYwOsRBLXD+lsBr2zvVhntY4SK0XJrCbV7IGkHL+OsS7P/DOcrFm+/tcsB
J60t3N0c9NMUcX40AyoMrVYVWEb85GRil3gUBx4OX3co26nc4hQdf6lprb7w/Wph
nZ6tJijAl1xsggQ2Iy7bnZQqSGeZIYwQCislBWadNDe54fQAzvPjxa4bbAnSEyBz
3+GktGwnIzb7sVS54a+QmV//7n2M+0h26h8cT7Wv9z4O0COD9nJRsfa908lEIezd
RtnuauxAUzDbiKVyzYzuh3IUIS1i5VIQxusQdJokATnw4UMFkm4ZuhLobIY6Tp6r
wKrAWw9do9x9XXc7ajxw8hfih/f8KX///vpxs+n+Vxzb7wATc4v72cVa1+YUvzht
GGREmesA04uiurKi2W/dX0ToQ6tlS/XNUW64NNtdfhSofSjSjCQ=
=A+QP
-END PGP SIGNATURE-


Thank you for your contribution to Debian.

___
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] Processed: Re: Bug#874427: /usr/bin/pg_config in multiple packages

2017-09-06 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 moreinfo
Bug #874427 [postgresql-common] /usr/bin/pg_config in multiple packages
Added tag(s) moreinfo.

-- 
874427: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874427
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
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-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] Processing of postgresql-q3c_1.5.0-2_source.changes

2017-09-06 Thread Debian FTP Masters
postgresql-q3c_1.5.0-2_source.changes uploaded successfully to localhost
along with the files:
  postgresql-q3c_1.5.0-2.dsc
  postgresql-q3c_1.5.0-2.debian.tar.xz

Greetings,

Your Debian queue daemon (running on host usper.debian.org)

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