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,

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

Reply via email to