Package: postgresql-8.1 Version: 8.1.4-2 Severity: important I have installed postgresql on my sid system. The installation finished with errors: ## apt-get install postgresql-8.1 Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: postgresql-client-8.1 postgresql-client-common postgresql-common Suggested packages: oidentd ident-server postgresql-doc-8.1 The following NEW packages will be installed postgresql-8.1 postgresql-client-8.1 postgresql-client-common postgresql-common 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 5760kB of archives. After unpacking 16,7MB of additional disk space will be used. Do you want to continue [Y/n]? Get: 1 ftp://ftp.de.debian.org sid/main postgresql-client-common 55 [35,2kB] Get: 2 ftp://ftp.de.debian.org sid/main postgresql-client-8.1 8.1.4-2 [1348kB] Get: 3 ftp://ftp.de.debian.org sid/main postgresql-common 55 [85,3kB] Get: 4 ftp://ftp.de.debian.org sid/main postgresql-8.1 8.1.4-2 [4292kB] Fetched 5760kB in 11s (500kB/s) Preconfiguring packages ... Selecting previously deselected package postgresql-client-common. (Reading database ... 155747 files and directories currently installed.) Unpacking postgresql-client-common (from .../postgresql-client-common_55_all.deb) ... Selecting previously deselected package postgresql-client-8.1. Unpacking postgresql-client-8.1 (from .../postgresql-client-8.1_8.1.4-2_i386.deb) ... Selecting previously deselected package postgresql-common. Unpacking postgresql-common (from .../postgresql-common_55_all.deb) ... Selecting previously deselected package postgresql-8.1. Unpacking postgresql-8.1 (from .../postgresql-8.1_8.1.4-2_i386.deb) ... Setting up postgresql-client-common (55) ... Setting up postgresql-client-8.1 (8.1.4-2) ...
Setting up postgresql-common (55) ... The user ostgres' is already a member of sl-cert'. Setting up postgresql-8.1 (8.1.4-2) ... Creating new cluster (configuration: /etc/postgresql/8.1/main, data: /var/lib/postgresql/8.1/main)... FATAL: could not remove old lock file "postmaster.pid": Success HINT: The file seems accidentally left over, but it could not be removed. Please remove the file by hand and try again. child process exited with exit code 1 initdb: removing contents of data directory "/var/lib/postgresql/8.1/main" could not remove file or directory "/var/lib/postgresql/8.1/main/PG_VERSION": Success initdb: failed to remove contents of data directory 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'). ## Then, I have executed the command "pg_createcluster 8.1 main --start" and it showed me the following error: ## pg_createcluster 8.1 main --start Configuring already existing cluster (configuration: /etc/postgresql/8.1/main, data: /var/lib/postgresql/8.1/main, owner: 31:32) 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... Moving configuration file /var/lib/postgresql/8.1/main/postgresql.conf to /etc/postgresql/8.1/main... Configuring postgresql.conf to use port 5432... Removed stale pid file. pg_controldata: could not open file "/var/lib/postgresql/8.1/main/global/pg_control" for reading: No such file or directory Error: Could not parse locale out of pg_controldata output ## The command "/etc/init.d/postgresql-8.1 start" returns the same error. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-1-686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages postgresql-8.1 depends on: ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libcomerr2 1.39-1 common error description library ii libkrb53 1.4.3-7 MIT Kerberos runtime libraries ii libpam0g 0.79-3.1 Pluggable Authentication Modules l ii libpq4 8.1.4-2 PostgreSQL C client library ii libssl0.9.8 0.9.8b-2 SSL shared libraries ii postgresql-client-8.1 8.1.4-2 front-end programs for PostgreSQL ii postgresql-common 55 manager for PostgreSQL database cl postgresql-8.1 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]