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

marius popa mapopa at gmail.com
Mon Nov 3 08:53:35 UTC 2008


On Mon, Nov 3, 2008 at 10:46 AM, Damyan Ivanov <dmn at debian.org> wrote:
> -=| 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 :/.
it was added by me long time ago when there was an bug in debian
package and you had to add the user manually
anyway here is the firebird uid 1003 that caused the problem
so seems that you must avoid creating firebird user by hand :)

i tested the update on another system and worked without issues , but
there the user was created by package
$id firebird
uid=126(firebird)

>
> --
> dam            JabberID: dam at jabber.minus273.org
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkkOumgACgkQHqjlqpcl9js85gCfSxMw/nnUHm8R0+9Yr283IE8A
> PhAAoJpKcQ7vphWf92alTstBjiY5bES3
> =fb6a
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> pkg-firebird-general mailing list
> pkg-firebird-general at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-firebird-general
>



-- 
developer flamerobin.org



More information about the pkg-firebird-general mailing list