Package: postgresql-common Version: 69 Severity: normal Log of trying to do it.
meili:/# locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_GB.UTF-8 LC_CTYPE="en_GB.UTF-8" LC_NUMERIC="en_GB.UTF-8" LC_TIME="en_GB.UTF-8" LC_COLLATE="en_GB.UTF-8" LC_MONETARY="en_GB.UTF-8" LC_MESSAGES="en_GB.UTF-8" LC_PAPER="en_GB.UTF-8" LC_NAME="en_GB.UTF-8" LC_ADDRESS="en_GB.UTF-8" LC_TELEPHONE="en_GB.UTF-8" LC_MEASUREMENT="en_GB.UTF-8" LC_IDENTIFICATION="en_GB.UTF-8" LC_ALL= meili:/# export LC_ALL=C meili:/# locale LANG=en_GB.UTF-8 LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=C meili:/# 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 0 not upgraded. Need to get 0B/4352kB of archives. After unpacking 12.7MB of additional disk space will be used. Selecting previously deselected package postgresql-8.1. (Reading database ... 25159 files and directories currently installed.) Unpacking postgresql-8.1 (from .../postgresql-8.1_8.1.5-1_i386.deb) ... Setting up postgresql-8.1 (8.1.5-1) ... Creating new cluster (configuration: /etc/postgresql/8.1/main, data: /var/lib/postgresql/8.1/main)... FATAL: XX000: failed to initialize lc_messages to "" LOCATION: InitializeGUCOptions, guc.c:2666 child process exited with exit code 1 initdb: removing contents of data directory "/var/lib/postgresql/8.1/main" Error: initdb failed Error: could not create default cluster. Please create it manually with pg_createcluster 8.1 main --start or a similar command (see 'man pg_createcluster'). meili:/# dpkg -P postgresql-8.1 (Reading database ... 25882 files and directories currently installed.) Removing postgresql-8.1 ... Purging configuration files for postgresql-8.1 ... meili:/# export LANG=C meili:/# 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 0 not upgraded. Need to get 0B/4352kB of archives. After unpacking 12.7MB of additional disk space will be used. Selecting previously deselected package postgresql-8.1. (Reading database ... 25159 files and directories currently installed.) Unpacking postgresql-8.1 (from .../postgresql-8.1_8.1.5-1_i386.deb) ... Setting up postgresql-8.1 (8.1.5-1) ... Creating new cluster (configuration: /etc/postgresql/8.1/main, data: /var/lib/postgresql/8.1/main)... Moving configuration file /var/lib/postgresql/8.1/main/postgresql.conf to /etc/postgresql/8.1/main... Moving configuration file /var/lib/postgresql/8.1/main/pg_hba.conf to /etc/postgresql/8.1/main... Moving configuration file /var/lib/postgresql/8.1/main/pg_ident.conf to /etc/postgresql/8.1/main... Configuring postgresql.conf to use port 5432... Starting PostgreSQL 8.1 database server: main. meili:/# -- System Information: Debian Release: 4.0 APT prefers experimental APT policy: (500, 'experimental'), (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-1-686 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages postgresql-common depends on: ii adduser 3.100 Add and remove users and groups ii debconf [debconf-2.0] 1.5.10 Debian configuration management sy ii lsb-base 3.1-22 Linux Standard Base 3.1 init scrip ii postgresql-client-common 69 manager for multiple PostgreSQL cl ii procps 1:3.2.7-3 /proc file system utilities ii ssl-cert 1.0.13 Simple debconf wrapper for openssl postgresql-common recommends no packages. -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]