Upon upgrading PostgreSQL wouldn't start. The postinst was failing.
I install PostgreSQL to a location other than /var/lib/. I just
removed /var/lib/postgres as a parameter to chmod, since it already
included $PGHOME on line 439.
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux two 2.4.18-k6 #1 Sun Apr 14 12:43:22 EST 2002 i586
Locale: LANG=C, LC_CTYPE=C
Versions of packages postgresql depends on:
ii adduser 3.47 Add and remove users and groups
ii debianutils 1.16.2woody1 Miscellaneous utilities specific t
ii libc6 2.2.5-11.5 GNU C Library: Shared libraries an
ii libpam0g 0.72-35 Pluggable Authentication Modules l
ii libpgsql2 7.2.1-2woody6 Shared library libpq.so.2 for Post
ii libreadline4 4.2a-5 GNU readline and history libraries
ii libssl0.9.6 0.9.6c-2.woody.6 SSL shared libraries
ii postgresql-client 7.2.1-2woody6 Front-end programs for PostgreSQL
ii procps 1:2.0.7-8.woody1 The /proc file system utilities.
ii python2.1 2.1.3-3.2 An interactive object-oriented scr
ii zlib1g 1:1.1.4-1.0woody0 compression library - runtime
Package: postgresql
Version: 7.2.1-2woody6
Severity: grave
Tags: patch patch
Justification: renders package unusable
Upon upgrading PostgreSQL wouldn't start. The postinst was failing.
I install PostgreSQL to a location other than /var/lib/. I just
removed /var/lib/postgres as a parameter to chmod, since it already
included $PGHOME on line 439.
439c439
< chown -R postgres.postgres ${PGDATA} ${PGHOME} /var/lib/postgres /var/run/postgresql
---
> chown -R postgres.postgres ${PGDATA} ${PGHOME} /var/run/postgresql
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux two 2.4.18-k6 #1 Sun Apr 14 12:43:22 EST 2002 i586
Locale: LANG=C, LC_CTYPE=C
Versions of packages postgresql depends on:
ii adduser 3.47 Add and remove users and groups
ii debianutils 1.16.2woody1 Miscellaneous utilities specific t
ii libc6 2.2.5-11.5 GNU C Library: Shared libraries an
ii libpam0g 0.72-35 Pluggable Authentication Modules l
ii libpgsql2 7.2.1-2woody6 Shared library libpq.so.2 for Post
ii libreadline4 4.2a-5 GNU readline and history libraries
ii libssl0.9.6 0.9.6c-2.woody.6 SSL shared libraries
ii postgresql-client 7.2.1-2woody6 Front-end programs for PostgreSQL
ii procps 1:2.0.7-8.woody1 The /proc file system utilities.
ii python2.1 2.1.3-3.2 An interactive object-oriented scr
ii zlib1g 1:1.1.4-1.0woody0 compression library - runtime