X2Go Bug report logs - #127
x2gobroker-daemon deb package reinstall/upgrade fails

Package: x2gobroker-daemon; Maintainer for x2gobroker-daemon is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2gobroker-daemon is src:x2gobroker.

Reported by: Anders Bruun Olsen <abo@dsl.dk>

Date: Thu, 28 Feb 2013 13:48:02 UTC

Severity: normal

Tags: pending

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


Message #12 received at control@bugs.x2go.org (full text, mbox, reply):

Received: (at control) by bugs.x2go.org; 28 Feb 2013 16:15:23 +0000
From mike.gabriel@das-netzwerkteam.de  Thu Feb 28 17:15:23 2013
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)
[Message part 1 (text/plain, inline)]
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
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Dec 13 08:40:56 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.