Package: postgresql-common Version: 165 Severity: important $ aptitude install postgresql-9.4 results in a "bad substitution" error
the script "postgresql-common.config" has the line SUPPORTED=`sh /usr/share/postgresql-common/supported-versions` which triggers the error. using /bin/bash works. /bin/sh is a symlink to /bin/dash (s.b.) not fixed in 166. -- System Information: Debian Release: 8.0 APT prefers stable APT policy: (1001, 'stable'), (500, 'stable-updates'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.0.0-1 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages postgresql-common depends on: ii adduser 3.113+nmu3 ii debconf [debconf-2.0] 1.5.56 ii init-system-helpers 1.22 ii lsb-base 4.1+Debian13+nmu1 ii postgresql-client-common 165 ii procps 2:3.3.9-9 ii ssl-cert 1.0.35 ii ucf 3.0030 Versions of packages postgresql-common recommends: ii logrotate 3.8.7-1+b1 postgresql-common suggests no packages. -- debconf information: postgresql-common/obsolete-major: postgresql-common/ssl: true