This bug prevents me upgrading from 9.5 -> 9.6.

I tried both workarounds suggested above:
Edited /usr/bin/pg_upgradecluster changing lines 333 and 354 of that script 
from:
  push @argv, ('-t', '5') if $version >= '8.4';
to
  push @argv, ('-t', '30') if $version >= '8.4';
which was my guessed change based on comment #4 above: the posted link is 
broken.
I re-ran pg_upgradecluster but it crashed with the same error, and within less 
than a second of starting which suggests to me this isn't a timeout issue in my 
case.

Also checked my postgresql.conf file IAW comment #5 above, my port line
was already uncommented.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1437862

Title:
  pg_upgradecluster fails: "could not get cluster locales"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-common/+bug/1437862/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to