[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#938930: marked as done (x2goversion: not showing component)



Your message dated Mon, 11 Nov 2019 19:31:23 +0000
with message-id <20191111193123.Horde.d58akwyAYc6cHcrWpc_fHvQ@mail.das-netzwerkteam.de>
and subject line Fixed in Debian package version 4.1.0.3-2
has caused the Debian Bug report #938930,
regarding x2goversion: not showing component
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
938930: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=938930
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: x2goserver
Version: 4.1.0.3-0~1708~ubuntu16.04.1
Severity: normal

Dear Maintainer,

When showing versions of all components x2goversion
don't print component.
It searched what is after '.' as second field (cut). But there is
always '..' in path. So name is empty.

As there is a 'cd' command just befire, only '*' is needed and cut
will work.

Here is a patch to do this:

============================================
diff --git a/x2goserver/bin/x2goversion b/x2goserver/bin/x2goversion
index 50e45c09..a0023c33 100755
--- a/x2goserver/bin/x2goversion
+++ b/x2goserver/bin/x2goversion
@@ -41,7 +41,7 @@ if [ -n "${1}" ]; then
    fi
 else
    cd "${X2GO_VERSIONS_BASEPATH}"
-   for compfile in "${X2GO_VERSIONS_BASEPATH}"/*; do
+   for compfile in *; do
        X2GO_COMPONENT="$(echo "$(basename ${compfile})" | cut -d '.' -f '2')"
        X2GO_COMPONENT_VERSION="$(get_version "${compfile}")"
        echo "${X2GO_COMPONENT}: ${X2GO_COMPONENT_VERSION}"
============================================


-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-58-generic (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages x2goserver depends on:
ii  bc                     1.06.95-9build1
ii  debconf [debconf-2.0]  1.5.58ubuntu2
ii  init-system-helpers    1.29ubuntu4
ii  libfile-basedir-perl   0.07-1
ii  libfile-which-perl     1.19-1
ii  libswitch-perl         2.17-2
ii  libtry-tiny-perl       0.24-1
ii  libx2go-server-perl    4.1.0.3-0~1708~ubuntu16.04.1
ii  lsb-base               9.20160110ubuntu0.2
ii  lsof                   4.89+dfsg-0.1
ii  net-tools              1.60-26ubuntu1
ii  openssh-client         1:7.2p2-4ubuntu2.8
ii  openssh-server         1:7.2p2-4ubuntu2.8
ii  perl                   5.22.1-9ubuntu0.6
ii  psmisc                 22.21-2.1build1
ii  pwgen                  2.07-1.1ubuntu1
ii  x2goserver-common      4.1.0.3-0~1708~ubuntu16.04.1
ii  x2goserver-x2goagent   4.1.0.3-0~1708~ubuntu16.04.1
ii  xauth                  1:1.0.9-1ubuntu2
ii  xkb-data               2.16-1ubuntu1

Versions of packages x2goserver recommends:
ii  fontconfig             2.11.94-0ubuntu1.1
ii  sshfs                  2.5-1ubuntu1
ii  x11-apps               7.7+5+nmu1ubuntu1
ii  x11-session-utils      7.7+2
ii  x11-utils              7.7+3
ii  x11-xfs-utils          7.7+2
ii  x11-xkb-utils          7.7+2
ii  x11-xserver-utils      7.7+7
ii  x2goserver-extensions  4.1.0.3-0~1708~ubuntu16.04.1
ii  x2goserver-fmbindings  4.1.0.3-0~1708~ubuntu16.04.1
ii  x2goserver-printing    4.1.0.3-0~1708~ubuntu16.04.1
ii  x2goserver-xsession    4.1.0.3-0~1708~ubuntu16.04.1
ii  xfonts-base            1:1.0.4+nmu1
ii  xinit                  1.3.4-3ubuntu0.1

Versions of packages x2goserver suggests:
ii  pulseaudio-utils  1:8.0-0ubuntu3.10
ii  rdesktop          1.8.3-1

-- Configuration Files:
/etc/sudoers.d/x2goserver [Errno 13] Permission non accordée: u'/etc/sudoers.d/x2goserver'

-- debconf information:
  x2goserver/postgresql-upgrade-3_1_0_0:
  x2goserver/upgrade-4_1_0_0:

--- End Message ---
--- Begin Message ---
Version: 4.1.0.3-2

Ferme PX,

please note that you are using packages built for Ubuntu provided by X2Go upstream. The 4.1.0.3 upstream release has been broken regarding x2goversion output. This esp. breaks python-x2go.

I#ll nag my co-X2Go upstream developers about this once more and see how close we are to a 4.1.0.4 (or 4.2.0.0) release of X2Go Server. Until then, please patch your code manually.

Greets,
Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

Attachment: pgpLs5xnogpDA.pgp
Description: Digitale PGP-Signatur


--- End Message ---

Reply to: