[pkg-firebird-general] subprocess post-installation script returned error exit status 1

Damyan Ivanov dmn at debian.org
Mon Nov 3 08:46:32 UTC 2008


-=| marius popa, Mon, Nov 03, 2008 at 09:38:37AM +0200 |=-
> damyan do you now how to debug this ?
> subprocess post-installation script returned error exit status 1
> 
> sudo sh -x   /var/lib/dpkg/info/firebird2.1-server-common.postinst configure

Yes, this is the way, more or less :)

> + [ -n  ]
> + set -e
> + set -u
> + VAR=/var/lib/firebird
> + checkFirebirdAccount
> + adduser --system --quiet --shell /bin/bash --home /var/lib/firebird
> --group --gecos Firebird Database Administator firebird

But perhaps the exit status is not zero.

Most probably the reason is (from your other mail) that that 
particular system has the firebird user already added. Thing is, that 
perhaps it was added as a normal (e.g. non-system) user and adduser 
barfs. From adduser(1):

  If  called with one non-option argument and the --system option, 
  adduser will add a system user. If a user with the same name already 
  exists in the system uid range ..., adduser will exit with 
  a warning.

In my understanding, this suggests that if the existing user is not in 
the system uid range, adduser fails. Why there is no error message 
about this I can't tell :/.

-- 
dam            JabberID: dam at jabber.minus273.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-firebird-general/attachments/20081103/bdf79450/attachment.pgp 


More information about the pkg-firebird-general mailing list