Package: postgresql
Version: 7.4.7-3
Severity: important

I'm upgrading an unused installation and was suprised to
see the following:

Setting up postgresql (7.4.7-3) ...
dpkg: error processing postgresql (--configure):
 subprocess post-installation script returned error exit status 10
 Errors were encountered while processing:
  postgresql
  
I can understand that there was a failure of some sort,
but there is no indication (from the output) just what
the problem is.

In fact, even when I tried to execute the script manually,
I received remarkably little output.

$ sudo bash -x /var/lib/dpkg/info/postgresql.postinst configure
+ set -e
+ set +o noclobber
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/postgresql.postinst 
configure
$ echo $?
10

Removing the package works fine, installing again
produces the same error.

In the interests of reproducability, I'll leave
the system as-is for now.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.4
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)

Versions of packages postgresql depends on:
ii  adduser       3.51                       Add and remove users and groups
ii  debconf [debc 1.4.22                     Debian configuration management sy
ii  debianutils   2.8.1                      Miscellaneous utilities specific t
ii  libc6         2.3.2.ds1-20               GNU C Library: Shared libraries an
ii  libcomerr2    1.34+1.35-WIP-2003.08.21-3 The Common Error Description libra
ii  libkrb53      1.3.3-2                    MIT Kerberos runtime libraries
ii  libpam0g      0.76-16                    Pluggable Authentication Modules l
ii  libperl5.8    5.8.4-8                    Shared Perl library
ii  libpq3        7.4.3-1                    Shared library libpq.so.3 for Post
ii  libreadline4  4.3-8                      GNU readline and history libraries
ii  libssl0.9.7   0.9.7c-5                   SSL shared libraries
ii  mailx         1:8.1.2-0.20031014cvs-2    A simple mail user agent
ii  postgresql-cl 7.4.7-3                    front-end programs for PostgreSQL
ii  procps        1:3.1.14-1                 The /proc file system utilities
ii  python2.3     2.3.5-1                    An interactive high-level object-o
ii  ucf           1.02                       Update Configuration File: preserv
ii  zlib1g        1:1.2.1-5                  compression library - runtime

-- debconf information:
  postgresql/initdb/location: /var/lib/postgres/data
* postgresql/purge_data_too: true
* postgresql/upgrade/preserve_location: /var/lib/postgres/preserve
* postgresql/settings/day_month_order: European
  postgresql/convert-pg_hba.conf: true
  postgresql/enable_lang: true
  postgresql/very_old_version_warning: true
* postgresql/upgrade/policy: true
* postgresql/upgrade/dump_location: /var/lib/postgres/
* postgresql/settings/locale: C


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to