Setting up postgresql-8.1 (8.1.9-0etch1) ...
Starting PostgreSQL 8.1 database server: main* The PostgreSQL server failed to start. Please check the log output:
2007-06-20 07:32:25 CEST LOG: could not load root certificate file "root.crt": No SSL error reported
2007-06-20 07:32:25 CEST DETAIL: Will not verify client certificates.
2007-06-20 07:32:28 CEST LOG: could not translate host name "localhost", service "5432" to address: N ame or service not known
2007-06-20 07:32:28 CEST WARNING: could not create listen socket for "localhost"
2007-06-20 07:32:28 CEST FATAL: could not create any TCP/IP sockets
failed!
invoke-rc.d: initscript postgresql-8.1, action "start" failed.
dpkg: error processing postgresql-8.1 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postgresql-contrib-8.1:
postgresql-contrib-8.1 depends on postgresql-8.1; however:
Package postgresql-8.1 is not configured yet.
dpkg: error processing postgresql-contrib-8.1 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
postgresql-8.1
postgresql-contrib-8.1
E: Sub-process /usr/bin/dpkg returned an error code (1)