Package: postgresql-common
Version: 58
Severity: grave
Justification: renders package unusable


I'm unable to install postgresql-8.1. The whole system is a fresh
install, the base system from etch netinstall beta 2 and then a complete
upgrade to sid. This isn't an update of installed postgresql packages.

I installed the following packages with aptitude:

libdbd-pg-perl, libdbi-perl, libnet-daemon-perl, libpg-perl, libplrpc-perl,
postgresql-client-8.1, postgresql-client-common, postgresql-common, ssl-cert,
postgresql-8.1, postgresql-contrib-8.1, postgresql-doc-8.1

During the configuration postgresql-common gives one error in the postinst
script and stops, and postgresql-8.1 and postgresql-contrib-8.1 don't
configure themselves as a consequence, being left unusable.

This is the relevant output:

---------------------------------------------------------------------------
Setting up postgresql-common (58) ...
useradd: invalid numeric argument 'postgres'
adduser: `/usr/sbin/useradd -d /var/lib/postgresql -g postgres -s /bin/bash -u 
106 postgres'
returned error code 3. Exiting.
dpkg: error processing postgresql-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of postgresql-8.1:
 postgresql-8.1 depends on postgresql-common (>= 39); however:
  Package postgresql-common is not configured yet.
dpkg: error processing postgresql-8.1 (--configure):
 dependency problems - leaving unconfigured
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.
 postgresql-contrib-8.1 depends on postgresql-common (>= 39); however:
  Package postgresql-common is not configured yet.
dpkg: error processing postgresql-contrib-8.1 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 postgresql-common
 postgresql-8.1
 postgresql-contrib-8.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
---------------------------------------------------------------------------

I've tried looking for the useradd line in the postinst script but didn't
find it.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-k7
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)

Versions of packages postgresql-common depends on:
ii  adduser                       3.96       Add and remove users and groups
ii  debconf [debconf-2.0]         1.5.3      Debian configuration management sy
ii  lsb-base                      3.1-10     Linux Standard Base 3.1 init scrip
ii  postgresql-client-common      58         manager for multiple PostgreSQL cl
ii  procps                        1:3.2.7-2  /proc file system utilities
ii  ssl-cert                      1.0.13     Simple debconf wrapper for openssl

postgresql-common recommends no packages.

-- debconf information:
  postgresql-common/obsolete-major:
  postgresql-common/untransitioned:


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

Reply via email to