Package: postgresql-common Version: 200+deb10u3 Severity: normal On a freshly installed system (an hour or so earlier), my attempt to install postgresql-11 failed, apparently because postgresql-common failed to install. It went like so:
>>> # apt-get install postgresql-11 Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libpq5 libxslt1.1 postgresql-client-11 postgresql-client-common postgresql-common ssl-cert sysstat Suggested packages: postgresql-doc-11 libjson-perl openssl-blacklist isag The following NEW packages will be installed: libpq5 libxslt1.1 postgresql-11 postgresql-client-11 postgresql-client-common postgresql-common ssl-cert sysstat 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Need to get 16.8 MB of archives. After this operation, 56.0 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://deb.debian.org/debian buster/main amd64 libpq5 amd64 11.7-0+deb10u1 [166 kB] Get:2 http://deb.debian.org/debian buster/main amd64 libxslt1.1 amd64 1.1.32-2.2~deb10u1 [237 kB] Get:3 http://deb.debian.org/debian buster/main amd64 postgresql-client-common all 200+deb10u3 [84.9 kB] Get:4 http://deb.debian.org/debian buster/main amd64 postgresql-client-11 amd64 11.7-0+deb10u1 [1,390 kB] Get:5 http://deb.debian.org/debian buster/main amd64 ssl-cert all 1.0.39 [20.8 kB] Get:6 http://deb.debian.org/debian buster/main amd64 postgresql-common all 200+deb10u3 [225 kB] Get:7 http://deb.debian.org/debian buster/main amd64 postgresql-11 amd64 11.7-0+deb10u1 [14.1 MB] Get:8 http://deb.debian.org/debian buster/main amd64 sysstat amd64 12.0.3-2 [562 kB] Fetched 16.8 MB in 1min 4s (261 kB/s) debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Preconfiguring packages ... Selecting previously unselected package libpq5:amd64. (Reading database ... 72864 files and directories currently installed.) Preparing to unpack .../0-libpq5_11.7-0+deb10u1_amd64.deb ... Unpacking libpq5:amd64 (11.7-0+deb10u1) ... Selecting previously unselected package libxslt1.1:amd64. Preparing to unpack .../1-libxslt1.1_1.1.32-2.2~deb10u1_amd64.deb ... Unpacking libxslt1.1:amd64 (1.1.32-2.2~deb10u1) ... Selecting previously unselected package postgresql-client-common. Preparing to unpack .../2-postgresql-client-common_200+deb10u3_all.deb ... Unpacking postgresql-client-common (200+deb10u3) ... Selecting previously unselected package postgresql-client-11. Preparing to unpack .../3-postgresql-client-11_11.7-0+deb10u1_amd64.deb ... Unpacking postgresql-client-11 (11.7-0+deb10u1) ... Selecting previously unselected package ssl-cert. Preparing to unpack .../4-ssl-cert_1.0.39_all.deb ... Unpacking ssl-cert (1.0.39) ... Selecting previously unselected package postgresql-common. Preparing to unpack .../5-postgresql-common_200+deb10u3_all.deb ... Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' Unpacking postgresql-common (200+deb10u3) ... Selecting previously unselected package postgresql-11. Preparing to unpack .../6-postgresql-11_11.7-0+deb10u1_amd64.deb ... Unpacking postgresql-11 (11.7-0+deb10u1) ... Selecting previously unselected package sysstat. Preparing to unpack .../7-sysstat_12.0.3-2_amd64.deb ... Unpacking sysstat (12.0.3-2) ... Setting up postgresql-client-common (200+deb10u3) ... Setting up libpq5:amd64 (11.7-0+deb10u1) ... Setting up ssl-cert (1.0.39) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Setting up postgresql-client-11 (11.7-0+deb10u1) ... update-alternatives: using /usr/share/postgresql/11/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode Setting up postgresql-common (200+deb10u3) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline Adding user postgres to group ssl-cert dpkg: error processing package postgresql-common (--configure): installed postgresql-common package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of postgresql-11: postgresql-11 depends on postgresql-common (>= 194~); however: Package postgresql-common is not configured yet. dpkg: error processing package postgresql-11 (--configure): dependency problems - leaving unconfigured Setting up libxslt1.1:amd64 (1.1.32-2.2~deb10u1) ... Setting up sysstat (12.0.3-2) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline dpkg: error processing package sysstat (--configure): installed sysstat package post-installation script subprocess returned error exit status 1 Processing triggers for systemd (241-7~deb10u4) ... Processing triggers for man-db (2.8.5-2) ... Processing triggers for libc-bin (2.28-10) ... Errors were encountered while processing: postgresql-common postgresql-11 sysstat E: Sub-process /usr/bin/dpkg returned an error code (1) <<< Please would you let me know what more information I can provide? Thanks. -- System Information: Debian Release: 10.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-10-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages postgresql-common depends on: ii adduser 3.118 ii debconf [debconf-2.0] 1.5.71 ii lsb-base 10.2019051400 ii postgresql-client-common 200+deb10u3 ii procps 2:3.3.15-2 ii ssl-cert 1.0.39 ii ucf 3.0038+nmu1 Versions of packages postgresql-common recommends: ii e2fsprogs 1.44.5-1+deb10u3 ii logrotate 3.14.0-4 Versions of packages postgresql-common suggests: pn libjson-perl <none> -- debconf information: postgresql-common/catversion-bump: postgresql-common/ssl: true postgresql-common/obsolete-major:

