Leaving the locale to the default en_US.UTF-8, but setting LC_TIME to e.g. "en_GB" or "en_GB.UTF-8" consistently breaks installation. So "LC_TIME=en_GB.UTF-8 apt-get install maas" will not work, but "LC_TIME=en_US.UTF-8 apt-get install maas" does. This may for instance affect people who use the en_DK locale for time display in order to get ISO date ordering.
The problem could be related to bug 1134036, which seemed to come from a missing entry in /usr/share/locales.
The installation error is:
«
Creating config file /etc/dbconfig-common/maas-region-controller.conf with new version
unable to connect to postgresql server.
error encountered creating user:
psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Configuring maas-region-controller
----------------------------------
An error occurred while installing the database:
psql: could not connect to server: No such file or directory Is the server
running locally and accepting connections on Unix domain socket
"/var/run/postgresql/.s.PGSQL.5432"?
If at this point you choose "retry", you will be prompted with all the
configuration questions once more and another attempt will be made at performing
the operation. "retry (skip questions)" will immediately attempt the operation
again, skipping all questions. If you choose "abort", the operation will fail
and you will need to downgrade, reinstall, reconfigure this package, or
otherwise manually intervene to continue using it. If you choose "ignore", the
operation will continue, ignoring further errors from dbconfig-common.
Leaving the locale to the default en_US.UTF-8, but setting LC_TIME to e.g. "en_GB" or "en_GB.UTF-8" consistently breaks installation. So "LC_TIME= en_GB.UTF- 8 apt-get install maas" will not work, but "LC_TIME= en_US.UTF- 8 apt-get install maas" does. This may for instance affect people who use the en_DK locale for time display in order to get ISO date ordering.
The problem could be related to bug 1134036, which seemed to come from a missing entry in /usr/share/locales.
The installation error is:
« common/ maas-region- controller. conf with new version postgresql/ .s.PGSQL. 5432"? controller ------- ------- ------- ------
Creating config file /etc/dbconfig-
unable to connect to postgresql server.
error encountered creating user:
psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Configuring maas-region-
-------
An error occurred while installing the database:
psql: could not connect to server: No such file or directory Is the server postgresql/ .s.PGSQL. 5432"?
running locally and accepting connections on Unix domain socket
"/var/run/
If at this point you choose "retry", you will be prompted with all the
configuration questions once more and another attempt will be made at performing
the operation. "retry (skip questions)" will immediately attempt the operation
again, skipping all questions. If you choose "abort", the operation will fail
and you will need to downgrade, reinstall, reconfigure this package, or
otherwise manually intervene to continue using it. If you choose "ignore", the
operation will continue, ignoring further errors from dbconfig-common.
1. abort 2. retry 3. retry (skip questions) 4. ignore
»