abo@x2go-broker:~$ sudo aptitude install x2gobroker-daemon
The following NEW packages will be installed:
libpq5{a} python-cheetah{a} python-egenix-mxdatetime{a} python-egenix-mxtools{a} python-flup{a} python-netaddr{a} python-pampy{a} python-psycopg2{a} python-setproctitle{a} python-webpy{a}
python-x2gobroker{a} x2gobroker{a} x2gobroker-authservice{a} x2gobroker-daemon
0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 2.045 kB of archives. After unpacking 9.460 kB will be used.
Do you want to continue? [Y/n/?]
Fetched 2.045 kB in 0s (6.529 kB/s)
Selecting previously unselected package libpq5.
(Reading database ... 49411 files and directories currently installed.)
Unpacking libpq5 (from .../libpq5_9.1.8-0ubuntu12.04_amd64.deb) ...
Selecting previously unselected package python-cheetah.
Unpacking python-cheetah (from .../python-cheetah_2.4.4-2ubuntu3_amd64.deb) ...
Selecting previously unselected package python-egenix-mxtools.
Unpacking python-egenix-mxtools (from .../python-egenix-mxtools_3.2.1-1ubuntu1_amd64.deb) ...
Selecting previously unselected package python-egenix-mxdatetime.
Unpacking python-egenix-mxdatetime (from .../python-egenix-mxdatetime_3.2.1-1ubuntu1_amd64.deb) ...
Selecting previously unselected package python-flup.
Unpacking python-flup (from .../python-flup_1.0.2-1_all.deb) ...
Selecting previously unselected package python-netaddr.
Unpacking python-netaddr (from .../python-netaddr_0.7.5-4build2_all.deb) ...
Selecting previously unselected package python-pampy.
Unpacking python-pampy (from .../python-pampy_0.1.4-0~2~precise1_all.deb) ...
Selecting previously unselected package python-psycopg2.
Unpacking python-psycopg2 (from .../python-psycopg2_2.4.5-1_amd64.deb) ...
Selecting previously unselected package python-webpy.
Unpacking python-webpy (from .../python-webpy_1%3a0.37+20120626-0~2+build2~precise1_all.deb) ...
Selecting previously unselected package python-x2gobroker.
Unpacking python-x2gobroker (from .../python-x2gobroker_0.0.0.4-0~222~precise1_all.deb) ...
Selecting previously unselected package python-setproctitle.
Unpacking python-setproctitle (from .../python-setproctitle_1.0.1-1ubuntu1_amd64.deb) ...
Selecting previously unselected package x2gobroker.
Unpacking x2gobroker (from .../x2gobroker_0.0.0.4-0~222~precise1_all.deb) ...
Selecting previously unselected package x2gobroker-authservice.
Unpacking x2gobroker-authservice (from .../x2gobroker-authservice_0.0.0.4-0~222~precise1_all.deb) ...
Selecting previously unselected package x2gobroker-daemon.
Unpacking x2gobroker-daemon (from .../x2gobroker-daemon_0.0.0.4-0~222~precise1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libpq5 (9.1.8-0ubuntu12.04) ...
Setting up python-cheetah (2.4.4-2ubuntu3) ...
Setting up python-egenix-mxtools (3.2.1-1ubuntu1) ...
Setting up python-egenix-mxdatetime (3.2.1-1ubuntu1) ...
Setting up python-flup (1.0.2-1) ...
Setting up python-netaddr (0.7.5-4build2) ...
Setting up python-pampy (0.1.4-0~2~precise1) ...
Setting up python-psycopg2 (2.4.5-1) ...
Setting up python-webpy (1:0.37+20120626-0~2+build2~precise1) ...
Setting up python-x2gobroker (0.0.0.4-0~222~precise1) ...
Setting up python-setproctitle (1.0.1-1ubuntu1) ...
Setting up x2gobroker (0.0.0.4-0~222~precise1) ...
Setting up x2gobroker-authservice (0.0.0.4-0~222~precise1) ...
chown: invalid user: `nogroup:x2gobroker'
invoke-rc.d: initscript x2gobroker-authservice, action "start" failed.
dpkg: error processing x2gobroker-authservice (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up x2gobroker-daemon (0.0.0.4-0~222~precise1) ...
Creating x2gobroker group.
Adding group `x2gobroker' (GID 113) ...
Done.
Creating x2gobroker user.
Adding system user `x2gobroker' (UID 106) ...
Adding new user `x2gobroker' (UID 106) with group `x2gobroker' ...
Creating home directory `/var/lib/x2go' ...
* Starting X2Go Session Broker standalone daemon x2gobroker [ OK ]
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
Errors were encountered while processing:
x2gobroker-authservice
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up x2gobroker-authservice (0.0.0.4-0~222~precise1) ...
* Starting X2Go Broker Authentication Service x2gobroker-authservice [ OK ]
I have tracked down the problem to line 41 in the source: debian/x2gobroker-authservice.init: