[EMAIL PROTECTED]:~$ sudo locale-gen cs_CZ Password: Generating locales... cs_CZ.ISO-8859-2... done Generation complete. [EMAIL PROTECTED]:~$ sudo rm -rf /etc/postgresql /var/lib/postgresql /var/log/postgr esql [EMAIL PROTECTED]:~$ export LANG=en_US [EMAIL PROTECTED]:~$ sudo apt-get install postgresql-8.1 Reading package lists... Done Building dependency tree... Done Suggested packages: oidentd ident-server The following NEW packages will be installed: postgresql-8.1 0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded. Need to get 0B/3023kB of archives. After unpacking 12.9MB of additional disk space will be used. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_CZ:en", LC_ALL = (unset), LC_MONETARY = "cs_CZ.ISO8859-2", LC_NUMERIC = "cs_CZ.ISO8859-2", LC_MESSAGES = "cs_CZ.ISO8859-2", LC_COLLATE = "cs_CZ.ISO8859-2", LC_CTYPE = "cs_CZ.ISO8859-2", LC_TIME = "cs_CZ.ISO8859-2", LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_ALL to default locale: No such file or directory Selecting previously deselected package postgresql-8.1. (Reading database ... 25548 files and directories currently installed.) Unpacking postgresql-8.1 (from .../postgresql-8.1_8.1.4-0ubuntu1_i386.deb) ... Setting up postgresql-8.1 (8.1.4-0ubuntu1) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_CZ:en", LC_ALL = (unset), LC_MONETARY = "cs_CZ.ISO8859-2", LC_NUMERIC = "cs_CZ.ISO8859-2", LC_MESSAGES = "cs_CZ.ISO8859-2", LC_COLLATE = "cs_CZ.ISO8859-2", LC_CTYPE = "cs_CZ.ISO8859-2", LC_TIME = "cs_CZ.ISO8859-2", LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Error: The locale requested by the environment is invalid. dpkg: error processing postgresql-8.1 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: postgresql-8.1 E: Sub-process /usr/bin/dpkg returned an error code (1)
-- Can't install (create cluster) in particular locale https://launchpad.net/bugs/47154 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs