Subject: postgresql: postgresql can't be installed
Package: postgresql
Version: 7.5.21
Severity: normal

*** Please type your report below this line ***
I can't install postgresql(7.4) and postgresql-8.1.The wrong
information is that :

useradd: invalid numeric argument 'postgres'
adduser: `/usr/sbin/useradd -d /var/lib/postgresql -g
postgres -s /bin/bash -u 102 postgres' returned error code 3.
Aborting.
dpkg: error processing postgresql-common (--configure):
subprocess post-installation script returned error exit status
2
dpkg: dependency problems prevent configuration of
postgresql-7.4:
postgresql-7.4 depends on postgresql-common (>= 24); however:
Package postgresql-common is not configured yet.
dpkg: error processing postgresql-7.4 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql:
postgresql depends on postgresql-7.4; however:
Package postgresql-7.4 is not configured yet.
postgresql depends on postgresql-common (>= 40); however:
Package postgresql-common is not configured yet.
dpkg: error processing postgresql (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
postgresql-common
postgresql-7.4
postgresql
E: Sub-process /usr/bin/dpkg returned an error code (1)


I try to use the follow commands,but still can't install it:

[EMAIL PROTECTED]:~$ sudo cat /etc/group|grep postgres
ssl-cert:!:105:postgres
postgres:x:106:
[EMAIL PROTECTED]:~$
sudo /usr/sbin/useradd -d /var/lib/postgresql -g
106 -s /bin/bash -u 102 postgres
useradd: unknown group 106

-- 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.16-1-686
Locale: LANG=zh_CN, LC_CTYPE=zh_CN (charmap=GB2312)

Versions of packages postgresql depends on:
pn postgresql-7.4 <none> (no description
available)
ii postgresql-client 7.5.21 front-end programs
for PostgreSQL
pn postgresql-common <none> (no description
available)

Versions of packages postgresql recommends:
pn postgresql-plperl-7.4 <none> (no description
available)
pn postgresql-plpython-7.4 <none> (no description
available)
pn postgresql-pltcl-7.4 <none> (no description
available)

-- no debconf information





===============================================
快来和我一起享受TOM免费邮箱吧! 看看除了1.5G,还有什么?

    敲开精彩 聊天世界网通用户 电信用户

明星金曲免费送(http://mm.tom.com/ivr/):周杰伦 林俊杰 庞龙 张惠妹

劲爆歌曲尽情点(http://mm.tom.com/ivr/):霍元甲 吉祥三宝 人质 曹操

炫酷彩铃免费送(http://mm.tom.com/cailing/):周杰伦帮你接电话 麻烦女朋友 七里香 小城故事
===============================================

Reply via email to