Subject: Nightly PPA packages depend on nxagent>=2:3.5.99.3, unavailable in Ubuntu or PPA

From: Jonathon Fernyhough <[email-masked]>
Date: Wed, 20 Dec 2017 13:49:22 +0000

Package: x2goserver-x2goagent
Version: 4.1.0.0-0~1453~ubuntu16.04.1

Two recent changes to the debian/control file corrected the epoch for
nxagent dependency [1]:

diff --git a/debian/control b/debian/control
index 922ae23..a6d2be7 100644
--- a/debian/control
+++ b/debian/control
@@ -169,7 +169,7 @@ Description: Perl X2Go::Log package
 Package: x2goserver-x2goagent
 Architecture: all
 Depends:
- nxagent (>= 3.5.99.0~),
+ nxagent (>= 2:3.5.99.3~),
  ${misc:Depends},
 Suggests:
  x2goserver

and removed x2goagent as an alternative [2]:

diff --git a/debian/control b/debian/control
index a6d2be7..b3ebbf2 100644
--- a/debian/control
+++ b/debian/control
@@ -26,7 +26,7 @@ Depends:
  libtry-tiny-perl,
  libswitch-perl,
  libx2go-server-perl (>= ${source:Version}), libx2go-server-perl (<<
${source:Version}.1~),
- x2goserver-x2goagent | x2goagent (>= 2:3.5.0.33-0~),
+ x2goserver-x2goagent (>= ${source:Version}), x2goserver-x2goagent (<<
${source:Version}.1~),
  bash,
  lsof,
  bc,

Unfortunately, nxagent>=2:3.5.99.3~ isn't available in Ubuntu [3] or
ppa:x2go/ppa [4] which leads to an unsatisfiable dependency:

$ apt-get install x2goserver-x2goagent
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 x2goserver-x2goagent : Depends: nxagent (>= 2:3.5.99.3~)
E: Unable to correct problems, you have held broken packages.

$ apt-cache policy x2goserver-x2goagent
x2goserver-x2goagent:
  Installed: 4.1.0.0-0~1451~ubuntu16.04.1
  Candidate: 4.1.0.0-0~1453~ubuntu16.04.1
  Version table:
     4.1.0.0-0~1453~ubuntu16.04.1 500
        500 http://ppa.launchpad.net/x2go/ppa/ubuntu xenial/main amd64
Packages
        500 http://ppa.launchpad.net/x2go/ppa/ubuntu xenial/main i386
Packages
 *** 4.1.0.0-0~1451~ubuntu16.04.1 100
        100 /var/lib/dpkg/status

[1]
https://git.launchpad.net/~x2go/x2go/+git/x2goserver/commit/debian?id=3521953095c3ce03e70d93510cf6dee3d752fb64
[2]
https://git.launchpad.net/~x2go/x2go/+git/x2goserver/commit/debian?id=ee5fbc5b1b963158455a4022b52c4e16b60eb946
[3]
https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=nxagent
[4]
https://launchpad.net/~x2go/+archive/ubuntu/ppa/+sourcepub/8566522/+listing-archive-extra