pg_upgradecluster fails: "could not get cluster locales"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-common (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
We upgrade a 12.04 LTS to 14.04 LTS and use the pg_upgradecluster command(usage as described in /usr/share/
pg_dropcluster 9.3 main --stop
pg_upgradecluster 9.1 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/
psql: FATAL: the database system is shutting down
Use of uninitialized value $out in pattern match (m//) at /usr/share/
Use of uninitialized value $ctype in scalar chomp at /usr/share/
Use of uninitialized value $collate in scalar chomp at /usr/share/
Error: could not get cluster localesapt-get install postgresql-9.3
apt-get install postgresql-9.3 postgresql-common postgresql-
dpkg said:
iU postgresql 9.3+154 all object-relational SQL database (supported version)
ii postgresql-9.1 9.1.15-
iU postgresql-9.3 9.3.6-0ubuntu0.
iU postgresql-client 9.3+154 all front-end programs for PostgreSQL (supported version)
ii postgresql-
iF postgresql-
ii postgresql-
ii postgresql-common 154 all PostgreSQL database-cluster manager
iU postgresql-contrib 9.3+154 all additional facilities for PostgreSQL (supported version)
ii postgresql-
iU postgresql-
ii postgresql-doc 9.3+154 all documentation for the PostgreSQL database management system
ii postgresql-doc-9.1 9.1.15-
ii postgresql-doc-9.3 9.3.6-0ubuntu0.
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.