[Pkg-postgresql-public] Bug#884457: post-install failure when /usr/share/man/man1/ does not exist

Jérôme Warnier jwarnier at beeznest.net
Fri Dec 15 12:21:56 UTC 2017


Package: postgresql-client-9.6
Version: 9.6.6-0+deb9u1
Severity: wishlist

When trying to install postgresql-client-9.6 on Debian Stretch in a 
restricted environment (in my case, an official Docker image 
debian:stretch-slim), postinst fails because it tries to create a 
symlink in an non-existing directory.
It would be nice if it checked its pre-existence, or created it if 
necessary.

Here is the exact output:

Setting up postgresql-client-9.6 (9.6.6-0+deb9u1) ...
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/man1/psql.1.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


Thanks,



More information about the Pkg-postgresql-public mailing list