From jens.reyer@leberrohstoffe.com  Mon Nov 19 14:27:02 2018
Received: (at submit) by bugs.x2go.org; 19 Nov 2018 13:27:04 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_40,URIBL_BLOCKED
	autolearn=ham autolearn_force=no version=3.4.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 90ED45DAED
	for <submit@bugs.x2go.org>; Mon, 19 Nov 2018 14:27:02 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id wfe9T_B39Ev2 for <submit@bugs.x2go.org>;
	Mon, 19 Nov 2018 14:26:54 +0100 (CET)
Received: from ares-mta1.core1.p4.net (ares-mta1.core1.p4.net [195.98.222.228])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id AC9385DA96
	for <submit@bugs.x2go.org>; Mon, 19 Nov 2018 14:26:54 +0100 (CET)
Received: from ares-mda1.core1.p4.net ([195.98.222.164]) 
	by ares-mta1.core1.p4.net with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	id 1gOjZm-000aSY-7J
	for submit@bugs.x2go.org; Mon, 19 Nov 2018 14:26:54 +0100
Received: from 127.0.0.1 (helo=localhost.localdomain)
	by ares-mda1.core1.p4.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	id 1gOjZl-0001QL-MA
	for submit@bugs.x2go.org; Mon, 19 Nov 2018 14:26:54 +0100
Received: by mail-qk1-f179.google.com with SMTP id 131so48437567qkd.4
        for <submit@bugs.x2go.org>; Mon, 19 Nov 2018 05:26:53 -0800 (PST)
X-Gm-Message-State: AGRZ1gIexCtp2T73TldKZRVHAmpcPtBHZdvlgoeAUVBsxGwsX8ld7txO
	mr9nyL4di99QLsGtK2bFPQ1XH19SgW/6Sp6hng==
X-Google-Smtp-Source: AJdET5cVMrb/IUJQfhVd3CXI+EcIY8ePiPurEU67YJDfeJrkli+vQ2LJxklyiHGCqr4QLlWYUXIR92Ve5n8tY0OGkwg=
X-Received: by 2002:a37:4cd7:: with SMTP id z206mr21090344qka.233.1542634012590;
 Mon, 19 Nov 2018 05:26:52 -0800 (PST)
MIME-Version: 1.0
From: Jens Reyer <jens.reyer@leberrohstoffe.com>
Date: Mon, 19 Nov 2018 14:26:41 +0100
X-Gmail-Original-Message-ID: <CAKQJ+7RAA7Wb8Ri7ikVzm4gKCUWfduafb99LsjQCz8X5VLfwUg@mail.gmail.com>
Message-ID: <CAKQJ+7RAA7Wb8Ri7ikVzm4gKCUWfduafb99LsjQCz8X5VLfwUg@mail.gmail.com>
Subject: Versioning in the launchpad ppa
To: submit@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"

Package: launchpad.net

Hi,

the version of e.g. nx-libs in the X2Go nightly PPA at
https://launchpad.net/~x2go is technically lower than the one in the
official Ubuntu Bionic (18.04) archive:

$ dpkg --compare-versions 2:3.5.99.16-0~201811100633~ubuntu18.04.1 gt
2:3.5.99.16-1 && echo "ppa version is bigger" || echo "ppa version is
smaller"
ppa version is smaller

This would be correct if they had the same "upstream" content, so that
the official package has precedence over the PPA one. However I assume
that the nightly PPA ships newer "upstream" functionality. You may
reflect this by changing the versioning to something like this
(increase the upstream versioning part before the Debian revision -0):

2:3.5.99.16+201811100633-0~ubuntu18.04.1

$ dpkg --compare-versions 2:3.5.99.16+201811100633-0~ubuntu18.04.1 gt
2:3.5.99.16-1 && echo "ppa version is bigger" || echo "ppa version is
smaller"
ppa version is bigger

Otherwise I have to "downgrade" the packages, in order to use the
nightly builds instead of the older official Ubuntu bionic ones. For
this to work I currently use apt pinning:

$ cat /etc/apt/preferences.d/x2go-ppa
Package: *
Pin: release o=LP-PPA-x2go
Pin-Priority: 1010

Thanks
jre

