From mike.gabriel@das-netzwerkteam.de  Thu Feb 28 17:15:23 2013
Received: (at 127) by bugs.x2go.org; 28 Feb 2013 16:15:23 +0000
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 884F43BC43;
	Thu, 28 Feb 2013 17:15:23 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 42BC0BB8;
	Thu, 28 Feb 2013 17:15:23 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id B0D873B9CD;
	Thu, 28 Feb 2013 17:15:22 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Ry89F874uQly; Thu, 28 Feb 2013 17:15:22 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 8664D3BABB;
	Thu, 28 Feb 2013 17:15:22 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 69DBC3B9CD;
	Thu, 28 Feb 2013 17:15:22 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	grimnir.das-netzwerkteam.de
X-Spam-Flag: NO
X-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_20,
	URIBL_BLOCKED autolearn=ham version=3.3.1 running as userid=
X-Spam-Level: 
X-Spam-Bayes-Score: 0.0850
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id 104903BA8D; Thu, 28 Feb 2013 17:15:22 +0100 (CET)
Received: from nocatv2.tng.de (nocatv2.tng.de [213.178.75.58]) by
 mail.das-netzwerkteam.de (Horde Framework) with HTTP; Thu, 28 Feb 2013
 17:15:22 +0100
Message-ID: <20130228171522.202907qfcz3cfonu@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Thu, 28 Feb 2013 17:15:22 +0100
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Anders Bruun Olsen <abo@dsl.dk>, 127@bugs.x2go.org
Cc: control@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#127: x2gobroker-daemon deb package
 reinstall/upgrade fails
References:  <CAFJm-UOT8kKEwkSRDYSVxdC3Hey-SUaC8crT89ERZwTynoWM7w@mail.gmail.com>
In-Reply-To:  <CAFJm-UOT8kKEwkSRDYSVxdC3Hey-SUaC8crT89ERZwTynoWM7w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_3o9lnmt5oyi";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)

This message is in MIME format and has been PGP signed.

--=_3o9lnmt5oyi
Content-Type: text/plain;
 charset=UTF-8;
 DelSp="Yes";
 format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

tag #127 moreinfo
thanks

Hi Anders,

On Do 28 Feb 2013 14:42:54 CET Anders Bruun Olsen wrote:

> Package: x2gobroker-daemon
> Version: 0.0.0.5 (compiled from 0.0.0.5 git branch)
>
> $ dpkg -l x2gobroker-daemon
> ...
> ii  x2gobroker-daemon                             0.0.0.5-0~x2go1
>                     X2Go http(s) based session broker (daemon)
>
> $ sudo dpkg -i x2gobroker-daemon_0.0.0.5-0~x2go1_all.deb
> (Reading database ... 58838 files and directories currently installed.)
> Preparing to replace x2gobroker-daemon 0.0.0.5-0~x2go1 (using
> x2gobroker-daemon_0.0.0.5-0~x2go1_all.deb) ...
>  * Stopping X2Go Session Broker standalone daemon x2gobroker
>
>                                                [ OK ]
> Unpacking replacement x2gobroker-daemon ...
> Setting up x2gobroker-daemon (0.0.0.5-0~x2go1) ...
> Group x2gobroker already exists.
> User x2gobroker already exists.
> dpkg: error processing x2gobroker-daemon (--install):
>  subprocess installed post-installation script returned error exit status 1
> Processing triggers for ureadahead ...
> Errors were encountered while processing:
>  x2gobroker-daemon
>
> If I do a purge of the x2gobroker-daemon package and then install it, it
> installs fine.

In /debian/x2goserver-daemon.postinst you find a line with set -e  
quite at the beginning of the script.

Can you set this line to set -ex, recompile the package and try to  
reproduce the observed error? There should be plenty of output on the  
console that will point you to the exact line where the postinst  
script fails.

Please report back this bit of information. Send the info to  
127@bugs.x2go.org.

Thanks,
Mike


-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

--=_3o9lnmt5oyi
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Unterschrift
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAABAgAGBQJRL4KZAAoJEJr0azAldxsxSqoQAKsYzp/BOdmBdyLI9bHfVKuS
ht2GgnwEvZI1z3Uc8Ei18vzc8DdEp/hmF6TQ2bLWtAu1H3+XCARB8RePB4B/Qel/
vmhfxDLSF5lV1u3WA7/wbjOyZAWUXjN9kRKstXQ2ptiVbTlvGmrBEJbaaU8eLDmN
vsXYeaVSVhqP8o8NeJxhMbbyBLgDILeC/NOHU4StVZDG7Igtut9HNM/BSvd7EpRa
MYjRkwJ/gLDDJ9S0ZfCP6ThA3Y+JE2SDoBF8LNBv1nWXqZNks2M2vmA05OpIMAYU
w0c6/UNeLrMbu7qRoSE8g3DBLlwLIYj8IlF+zTkEcm+3uRjsrdo96P8rosioUbz1
sIWAK7rmaf4nsqk+if3ZP/GYJCVXHcrx17Z9MHpEaJJYship3bR1tYmVdVghnCpG
p6N/biiS2U+e15Y63vIzpEtzG8XhCikAYv4dkTEgDo9FKf/feM4QqiC9N1goTKgC
lzzMy+Xll7kc+SRS/3CN5BHca9OLY64idaWieDXCY7V87/2QVAwMhjrSHTmSmxcR
v3Xp9Rz2JEQLnTIWr+KSrAh+r7n6Qph8NojHQgrj7bcPj6C9uEvz5BludtnH5ixm
XualWpVV4fjR3U67dB7GsE7STkblg1sMAN3x82T8OItmPQTD2AoU2veRjqc9a8NS
D6dyMXARHCaqifzdDYym
=ojez
-----END PGP SIGNATURE-----

--=_3o9lnmt5oyi--
