[Pkg-postgresql-public] Bug#866729: (postgresql (version 9.6+181) fails to install if /usr/share/man is removed.)

Olliver Schinagl oliver at schinagl.nl
Sat Jul 1 09:16:44 UTC 2017

Package: postgresql
Version 9.6+181
Severity: normal

Dear maintainer,

When setting up postgresql on a 'minimal' debian, where I would have rm
-rf-ed /usr/share/man, postgresl (and its siblings) will fail to install.

In the following snippet, man/man1 was re-created, but man7 was still

Setting up postgresql-client-9.6 (9.6.3-3) ...
update-alternatives: using /usr/share/postgresql/9.6/man/man1/psql.1.gz
to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
update-alternatives: error: error creating symbolic link
'/usr/share/man/man7/ABORT.7.gz.dpkg-tmp': No such file or directory
dpkg: error processing package postgresql-client-9.6 (--configure):
 subprocess installed post-installation script returned error exit status 2

What I also noticed (not specifically here) is that if /usr/share/man
could not be found, more things went badly (unable to access
/usr/share/man1 No such file or directory or the like).

Other packages, which also supply man-pages, do not seem to suffer from
this problem, they simply just continue.

Thank you,


More information about the Pkg-postgresql-public mailing list