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: