From abo@dsl.dk  Fri Mar  1 10:17:40 2013
Received: (at 127) by bugs.x2go.org; 1 Mar 2013 09:17:40 +0000
Received: from eu1sys200aog103.obsmtp.com (eu1sys200aog103.obsmtp.com [207.126.144.115])
	by ymir (Postfix) with SMTP id 366093BC43
	for <127@bugs.x2go.org>; Fri,  1 Mar 2013 10:17:39 +0100 (CET)
Received: from mail-ia0-f200.google.com ([209.85.210.200]) (using TLSv1) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP
	ID DSNKUTByMkYc5eAU3AcVUPqHHO1Ff7RRyHxM@postini.com; Fri, 01 Mar 2013 09:17:39 UTC
Received: by mail-ia0-f200.google.com with SMTP id u20so11190747iag.11
        for <127@bugs.x2go.org>; Fri, 01 Mar 2013 01:17:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=dsl.dk; s=google;
        h=x-received:mime-version:x-received:in-reply-to:references:date
         :message-id:subject:from:to:content-type;
        bh=vt7Hu46Y6l8UVj8g45wRzFOb8pVlfA9lhWHKj2lF7uU=;
        b=SLrw3fopJ5Kuz06+1BSFKQANjGLGLFJK+HBvIoLq7x5OhNkMm8yV2+afLjF7pcABRD
         1mVh1sl21o4CFVBtcOixI1ixCdpliGpCbH9Q01iA/irvRkG/YQvnPCfOJUOdnBiPJ9xG
         NQgZabRn7Hb/adbA+w8MRo4lrjL9M7snvUqeI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
        h=x-received:mime-version:x-received:in-reply-to:references:date
         :message-id:subject:from:to:content-type:x-gm-message-state;
        bh=vt7Hu46Y6l8UVj8g45wRzFOb8pVlfA9lhWHKj2lF7uU=;
        b=M1Tb99hgrQMqGRINGprgaZMzSrcRAKu5KimPDF3+bNKMJ/YY7Vmo1mWcri7CjUPcda
         8YO96zW5e/+aTBoy0E3wyiaV67okZMSSpIXoCfKheWViQJUYvA4CanbmcyfJDK/gYfAM
         qoZ+X7ESb//n8NwrPOcA8SyRgJyAnHMZXSfGmxEHpOlmxxUu1WbRFQFuEa94w92H51yy
         05jhI2TqNDxYUYVDI7KIB0c4sEufQdOCTXYT0YsTpl+z7B2Y3ZmZzVA2wnW8BsNqtDhL
         ACkGKdziTdieNXrVyikqx3W+9+HJ4Z4RN21ijGTqqDveNfMKcPw7pBFw620OhEPxCbNn
         CPJg==
X-Received: by 10.182.107.66 with SMTP id ha2mr8166695obb.43.1362129457750;
        Fri, 01 Mar 2013 01:17:37 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.182.107.66 with SMTP id ha2mr8166685obb.43.1362129457514;
 Fri, 01 Mar 2013 01:17:37 -0800 (PST)
Received: by 10.182.227.99 with HTTP; Fri, 1 Mar 2013 01:17:37 -0800 (PST)
In-Reply-To: <20130228171522.202907qfcz3cfonu@mail.das-netzwerkteam.de>
References: <CAFJm-UOT8kKEwkSRDYSVxdC3Hey-SUaC8crT89ERZwTynoWM7w@mail.gmail.com>
	<20130228171522.202907qfcz3cfonu@mail.das-netzwerkteam.de>
Date: Fri, 1 Mar 2013 10:17:37 +0100
Message-ID: <CAFJm-UOkBDGbUgb5AktiZBHBAhjLY-9tTB0zyhHLR1TzauUzDg@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#127: x2gobroker-daemon deb package
 reinstall/upgrade fails
From: Anders Bruun Olsen <abo@dsl.dk>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 127@bugs.x2go.org
Content-Type: multipart/alternative; boundary=14dae93b56927428b704d6d97ab9
X-Gm-Message-State: ALoCoQlFlI0JJwHh3V/oAGRygV8DO2rAd/4L2lnnHxXQqSgXY8uaSFjR37RpT91YmckNvS8N9n8on3j0r1zCFxORcCYeSIJB+yAQM1oqjcSLhM2SE/Mls2KcL9jfSZ3+eLWi03Bl6gdEptdqx+hae9w64gq86dJ4DQ==

--14dae93b56927428b704d6d97ab9
Content-Type: text/plain; charset=UTF-8

Problem found:
debian/x2gobroker-daemon.postinst line 38 sets home of user x2gobroker to
be /var/lib/x2go but all other references to the homedir are for
/var/lib/x2gobroker.


2013/2/28 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

> 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<mike.gabriel@das-netzwerkteam.de>,
> http://das-netzwerkteam.de
>
> freeBusy:
> https://mail.das-netzwerkteam.**de/freebusy/m.gabriel%40das-**
> netzwerkteam.de.xfb<https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb>
>



-- 
Anders Bruun Olsen
It-ansvarlig
Det Danske Sprog- og Litteraturselskab
(Society for Danish Language and Literature)

--14dae93b56927428b704d6d97ab9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Problem found:<div style>debian/x2gobroker-daemon.postinst=
 line 38 sets home of user x2gobroker to be /var/lib/x2go but all other ref=
erences to the homedir are for /var/lib/x2gobroker.</div></div><div class=
=3D"gmail_extra">
<br><br><div class=3D"gmail_quote">2013/2/28 Mike Gabriel <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:mike.gabriel@das-netzwerkteam.de" target=3D"_blank">=
mike.gabriel@das-netzwerkteam.de</a>&gt;</span><br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">
tag #127 moreinfo<br>
thanks<br>
<br>
Hi Anders,<div><div class=3D"h5"><br>
<br>
On Do 28 Feb 2013 14:42:54 CET Anders Bruun Olsen wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Package: x2gobroker-daemon<br>
Version: 0.0.0.5 (compiled from 0.0.0.5 git branch)<br>
<br>
$ dpkg -l x2gobroker-daemon<br>
...<br>
ii =C2=A0x2gobroker-daemon =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0.0.0.5-0~x2go1<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 X2Go =
http(s) based session broker (daemon)<br>
<br>
$ sudo dpkg -i x2gobroker-daemon_0.0.0.5-0~<u></u>x2go1_all.deb<br>
(Reading database ... 58838 files and directories currently installed.)<br>
Preparing to replace x2gobroker-daemon 0.0.0.5-0~x2go1 (using<br>
x2gobroker-daemon_0.0.0.5-0~<u></u>x2go1_all.deb) ...<br>
=C2=A0* Stopping X2Go Session Broker standalone daemon x2gobroker<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0[ OK ]<br>
Unpacking replacement x2gobroker-daemon ...<br>
Setting up x2gobroker-daemon (0.0.0.5-0~x2go1) ...<br>
Group x2gobroker already exists.<br>
User x2gobroker already exists.<br>
dpkg: error processing x2gobroker-daemon (--install):<br>
=C2=A0subprocess installed post-installation script returned error exit sta=
tus 1<br>
Processing triggers for ureadahead ...<br>
Errors were encountered while processing:<br>
=C2=A0x2gobroker-daemon<br>
<br>
If I do a purge of the x2gobroker-daemon package and then install it, it<br=
>
installs fine.<br>
</blockquote>
<br></div></div>
In /debian/x2goserver-daemon.<u></u>postinst you find a line with set -e qu=
ite at the beginning of the script.<br>
<br>
Can you set this line to set -ex, recompile the package and try to reproduc=
e 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.<br>
<br>
Please report back this bit of information. Send the info to <a href=3D"mai=
lto:127@bugs.x2go.org" target=3D"_blank">127@bugs.x2go.org</a>.<br>
<br>
Thanks,<br>
Mike<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
<br>
-- <br>
<br>
DAS-NETZWERKTEAM<br>
mike gabriel, rothenstein 5, 24214 neudorf-bornstein<br>
fon: <a href=3D"tel:%2B49%20%281520%29%201976%20148" value=3D"+491520197614=
8" target=3D"_blank">+49 (1520) 1976 148</a><br>
<br>
GnuPG Key ID 0x25771B31<br>
mail: <a href=3D"mailto:mike.gabriel@das-netzwerkteam.de" target=3D"_blank"=
>mike.gabriel@das-netzwerkteam.<u></u>de</a>, <a href=3D"http://das-netzwer=
kteam.de" target=3D"_blank">http://das-netzwerkteam.de</a><br>
<br>
freeBusy:<br>
<a href=3D"https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwe=
rkteam.de.xfb" target=3D"_blank">https://mail.das-netzwerkteam.<u></u>de/fr=
eebusy/m.gabriel%40das-<u></u>netzwerkteam.de.xfb</a><br>
</font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b=
r>Anders Bruun Olsen<br>It-ansvarlig<br>Det Danske Sprog- og Litteratursels=
kab<br>(Society for Danish Language and Literature)<br>
</div>

--14dae93b56927428b704d6d97ab9--
