Package: postgresql
Version: 7.4.7-6
Severity: normal
Upgrading from 7.4.7-2 to 7.4.7-6 fails if the server is not running (which
ought to be legitimate):
Setting up postgresql (7.4.7-6) ...
Installing new version of config file /etc/cron.d/postgresql ...
Installing new version of config file /etc/init.d/postgresql ...
psql: could not connect to server: lD)@(g%@
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
The apt-get process ends with a failure.
I notice that earlier it tried to stop the server, which failed:
Preparing to replace postgresql 7.4.7-2 (using .../postgresql_7.4.7-6_i386.deb)
...
Stopping PostgreSQL database server: postmasterpg_ctl: could not find
/var/lib/postgres/data/postmaster.pid
Is postmaster running?
..
Unpacking replacement postgresql ...
It should perhaps start the server temporarily to apply the updates,
or at least notify the user about applying the updates himself, but
not fail the apt-get process.
(...later...)
Actually, the data area is still from 7.3; I never bothered to upgrade
that. Perhaps it did then try to start the server, but it failed?
It should still be more graceful about that.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7-nforce2
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages postgresql depends on:
ii adduser 3.63 Add and remove users and groups
ii debconf [debconf 1.4.30.13 Debian configuration management sy
ii debianutils 2.8.4 Miscellaneous utilities specific t
ii dpkg 1.10.27 Package maintenance system for Deb
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
ii libcomerr2 1.37-2 common error description library
ii libkrb53 1.3.6-2 MIT Kerberos runtime libraries
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libperl5.8 5.8.4-8 Shared Perl library
ii libpq3 7.4.7-6 PostgreSQL C client library
ii libreadline4 4.3-11 GNU readline and history libraries
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
ii mailx 1:8.1.2-0.20040524cvs-4 A simple mail user agent
ii postgresql-clien 7.4.7-6 front-end programs for PostgreSQL
ii procps 1:3.2.1-2 The /proc file system utilities
ii python2.3 2.3.5-3 An interactive high-level object-o
ii ucf 1.17 Update Configuration File: preserv
ii zlib1g 1:1.2.2-4 compression library - runtime
-- debconf information:
* postgresql/initdb/location: /var/lib/postgres/data
postgresql/upgrade/preserve_location: $PGDATA/..
* postgresql/settings/day_month_order: European
postgresql/upgrade/policy: true
* postgresql/settings/locale: [EMAIL PROTECTED]
postgresql/enable_lang: true
* postgresql/purge_data_too: false
postgresql/very_old_version_warning: true
postgresql/upgrade/dump_location: $PGDATA/..
* postgresql/settings/encoding: per_locale
postgresql/convert-pg_hba.conf: true
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]