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

marius popa mapopa at gmail.com
Mon Nov 3 07:53:05 UTC 2008


On Mon, Nov 3, 2008 at 9:38 AM, marius popa <mapopa at gmail.com> wrote:
> damyan do you now how to debug this ?
> subprocess post-installation script returned error exit status 1
>
> I use the latest version from git
> after the package is created i try to install it but it gives the above error
>
> sudo apt-get -y --force-yes install firebird2.1-server-common
>
> Setting up firebird2.1-server-common (2.1.1.17910-release.ds1-2ubuntu2) ...
> dpkg: error processing firebird2.1-server-common (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  firebird2.1-server-common
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> sudo sh -x   /var/lib/dpkg/info/firebird2.1-server-common.postinst configure
> + [ -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

>
> with no error
Ok i see now the issue , the firebird user was not removed from
/etc/password after the remove --purge
I will check again on another system ,
the firebird user was added manually on this one


dpkg --debug=400 -i
firebird2.1-server-common_2.1.1.17910-release.ds1-2ubuntu2_amd64.deb
Selecting previously deselected package firebird2.1-server-common.
(Reading database ... 446574 files and directories currently installed.)
Unpacking firebird2.1-server-common (from
firebird2.1-server-common_2.1.1.17910-release.ds1-2ubuntu2_amd64.deb)
...
D000400:   checking group ...
D000400:     checking possibility  -> adduser
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
Setting up firebird2.1-server-common (2.1.1.17910-release.ds1-2ubuntu2) ...
dpkg: error processing firebird2.1-server-common (--install):
 subprocess post-installation script returned error exit status 1
Processing triggers for man-db ...
Errors were encountered while processing:
 firebird2.1-server-common
root at borkstation64:/var/cache/apt/archives # id firebird
uid=1003(firebird) gid=1003(firebird) groups=1003(firebird)
root at borkstation64:/var/cache/apt/archives # vi /etc/passwd
root at borkstation64:/var/cache/apt/archives # userdel firebird
root at borkstation64:/var/cache/apt/archives # vi /etc/passwd
root at borkstation64:/var/cache/apt/archives # dpkg --debug=400 -i
firebird2.1-server-common_2.1.1.17910-release.ds1-2ubuntu2_amd64.deb
(Reading database ... 446620 files and directories currently installed.)
Preparing to replace firebird2.1-server-common
2.1.1.17910-release.ds1-2ubuntu2 (using
firebird2.1-server-common_2.1.1.17910-release.ds1-2ubuntu2_amd64.deb)
...
Unpacking replacement firebird2.1-server-common ...
D000400:   checking group ...
D000400:     checking possibility  -> adduser
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
Setting up firebird2.1-server-common (2.1.1.17910-release.ds1-2ubuntu2) ...
adduser: Warning: The home directory `/var/lib/firebird' does not
belong to the user you are currently creating.

so now it installs



-- 
developer flamerobin.org



More information about the pkg-firebird-general mailing list