[Pkg-postgresql-public] Bug#883055: postgresql-contrib-9.6 (re-)installs alternative manpages of postgresql-9.6

Michael Stapelberg stapelberg at debian.org
Wed Nov 29 08:10:50 UTC 2017

Package: postgresql-contrib-9.6
Version: 9.6.5-1
Severity: normal

The postinst script of both postgresql-9.6 and postgresql-contrib-9.6 call
update-alternatives for (e.g.) postgres.1.gz.

While this doesn’t pose a problem for the alternatives database itself, this
causes manpages.debian.org to display two separate versions of postgres.1 (and
others), one of which cannot be displayed.

manpages.d.o integrates with piuparts.d.o and logs update-alternatives calls,
then associates them with a Debian binary package, and treats them as if the
binary package contained a symbolic link.

The intended state is that only the package which ships the manpage
(postgresql-9.6 in this case) makes the update-alternatives call.

Could you please change the postinst script to not make duplicate
update-alternatives calls? Thank you!

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel, arm64

Kernel: Linux 4.13.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages postgresql-contrib-9.6 depends on:
ii  libc6           2.24-17
ii  libpq5          10.0-1+b1
ii  libselinux1     2.7-2
ii  libssl1.1       1.1.0g-2
ii  libuuid1        2.30.2-0.1
ii  libxml2         2.9.4+dfsg1-5+b1
ii  libxslt1.1      1.1.29-2.2
ii  postgresql-9.6  9.6.5-1
ii  zlib1g          1:1.2.8.dfsg-5

postgresql-contrib-9.6 recommends no packages.

Versions of packages postgresql-contrib-9.6 suggests:
pn  libdbd-pg-perl  <none>

-- no debconf information

More information about the Pkg-postgresql-public mailing list