[Pkg-postgresql-public] Bug#756008: postgresql-common: (URGENT) pg_upgradecluster 9.3 -> 9.4 fails

Thorsten Glaser tg at mirbsd.de
Fri Jul 25 12:09:07 UTC 2014


Package: postgresql-common
Version: 159
Severity: important

tglase at tglase:~ $ sudo pg_dropcluster 9.4 main --stop
[sudo] password for tglase:
tglase at tglase:~ $ sudo pg_upgradecluster 9.3 main
Stopping old cluster...
pg_ctl: server does not shut down
HINT: The "-m fast" option immediately disconnects sessions rather than
waiting for session-initiated disconnection.
Error: Could not stop old cluster
1|tglase at tglase:~ $ sudo pg_upgradecluster 9.3 main
psql: FATAL:  the database system is shutting down
psql: FATAL:  the database system is shutting down
Use of uninitialized value $out in pattern match (m//) at /usr/share/postgresql-common/PgCommon.pm line 911.
psql: FATAL:  the database system is shutting down
Use of uninitialized value $out in pattern match (m//) at /usr/share/postgresql-common/PgCommon.pm line 917.
Use of uninitialized value $ctype in scalar chomp at /usr/share/postgresql-common/PgCommon.pm line 920.
Use of uninitialized value $collate in scalar chomp at /usr/share/postgresql-common/PgCommon.pm line 921.
Error: could not get cluster locales
1|tglase at tglase:~ $ 

What am I supposed to do now? I fear doing anything wrong
will make the situation much worse?

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh

Versions of packages postgresql-common depends on:
ii  adduser                   3.113+nmu3
ii  debconf [debconf-2.0]     1.5.53
ii  lsb-base                  4.1+Debian13
ii  postgresql-client-common  159
ii  procps                    1:3.3.9-7
ii  ssl-cert                  1.0.34
ii  ucf                       3.0030

Versions of packages postgresql-common recommends:
ii  logrotate  3.8.7-1

postgresql-common suggests no packages.

-- Configuration Files:
/etc/postgresql-common/createcluster.conf changed:
ssl = on
stats_temp_directory = '/var/run/postgresql/%v-%c.pg_stat_tmp'
log_line_prefix = '%%t [%%p-%%l] %%q%%u@%%d '


-- debconf information:
* postgresql-common/obsolete-major:
  postgresql-common/ssl: true



More information about the Pkg-postgresql-public mailing list