Package: postgresql-common Version: 200+deb10u2 Severity: normal Dear Maintainer,
When upgrading from stretch to buster, the nss upgrade offers restart the affected services, that is postgresql. Then we get the message: ┌─────────────────────────Configuring libc6:amd64────────────────────────────┐ │ Failure restarting some services for GNU libc upgrade │ │ │ │ The following services could not be restarted for the GNU libc library │ │ upgrade: │ │ │ │ postgresql │ │ │ │ You will need to start these manually by running 'invoke-rc.d <service> │ │ start'. │ │ │ │ │ ├────────────────────────────────────────────────────────────────────────────┤ │ < OK > │ └────────────────────────────────────────────────────────────────────────────┘ Running "/etc/init.d/postgresql start" manually, one gets: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_GB.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). [....] Starting PostgreSQL 9.6 database server: main[....] perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_GB.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). The PostgreSQL server failed to start. Please check the log output: 2019-10-10 20:10:39 BST [21355-1] LOG: invalid value for parameter "lc_time": "en_GB.UTF-8" 2019-10-10 20:10:39 BST [21355-2] FATAL: configuration file "/etc/postgresq[FAIL/main/postgresql.conf" contains errors ... failed! failed! If I comment out the line "lc_time" in /etc/postgresql/9.6/main/postgresql.conf then every thing is fine. I expected libc to upgrade smoothly without having to patch postgresql.conf file. -- System Information: Debian Release: 10.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /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+deb10u2 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+deb10u2 ii logrotate 3.14.0-4 Versions of packages postgresql-common suggests: ii libjson-perl 4.02000-1 -- debconf information excluded