On Thu, Jul 21, 2005 at 02:25:02PM +0300, Noam Rathaus wrote:
> Package: postgresql
> Version: 7.4.7-6sarge1
> Severity: grave
> Justification: renders package unusable

> Trying to upgrade returns:
> Setting up postgresql (7.4.7-6sarge1) ...
> psql: could not connect to server: ?????
>         Is the server running locally and accepting
>         connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
> Applying security update in database template0...
> dpkg: error processing postgresql (--configure):
>  subprocess post-installation script returned error exit status 2
> Setting up postgresql-doc (7.4.7-6sarge1) ...

> Errors were encountered while processing:
>  postgresql
> E: Sub-process /usr/bin/dpkg returned an error code (1)

> -----------

> This is because my PostgreSQL is listeing on localhost, and for some
> reason the upgrade is unable to upgrade.

So you have postgresql configured to listen on localhost on tcp, and *not*
on the Unix socket?  If so, why?

-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature

Reply via email to