I'm trying to install x2goclient on openSUSE Tumbleweed following the official x2go guide that can be found here: https://wiki.x2go.org/doku.php/wiki:repositories:suse
After adding the repo, I do a "zypper refresh" followed by a "zypper install x2goclient" but unfortunately the installation cannot proceed because I obtain the following error:
"Problem: nothing provides libssh.so.4(LIBSSH_0.7.2)(64bit) needed by x2goclient-4.1.1.1-1.6.x86_64 Solution 1: do not install x2goclient-4.1.1.1-1.6.x86_64 Solution 2: break x2goclient-4.1.1.1-1.6.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c):"
Is there a way to solve this? Both libssh4 and libssh-devel versions installed on the system are 0.8.3-1.1. Tell me if I've to provide further informations.
Regards,
Giacomo Rossi A bad day freediving or spearfishing is better than the best day at work
Dear all,
On Wed, 10 Oct 2018 19:07:41 +0200, Giacomo Rossi <giacombum@gmail.com> wrote:
I'm trying to install x2goclient on openSUSE Tumbleweed following the official x2go guide that can be found here: https://wiki.x2go.org/doku.php/wiki:repositories:suse
After adding the repo, I do a "zypper refresh" followed by a "zypper install x2goclient" but unfortunately the installation cannot proceed because I obtain the following error:
"Problem: nothing provides libssh.so.4(LIBSSH_0.7.2)(64bit) needed by x2goclient-4.1.1.1-1.6.x86_64 Solution 1: do not install x2goclient-4.1.1.1-1.6.x86_64 Solution 2: break x2goclient-4.1.1.1-1.6.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c):"
I have a similar problem on openSUSE Tumbleweed, both with the openSUSE's own official X2Go packages and the X2Go packages from <https://wiki.x2go.org/doku.php/wiki:repositories:suse>. I do have libssh4-0.7.2 installed, as well as x2goclient-4.1.2.2, but Tumbleweed wants me to upgrade to libssh4-0.8.3. Upgrading libssh4 would mean uninstalling x2goclient, whereas not upgrading libssh4 makes it impossible to install lots of other upgrades that I need.
I suspect that whoever is maintaining the x2goclient RPMs needs to change the build requirements to libssh4-0.8.3. Hopefully this requires changes only to the spec file, not the source code.
Regards, Tristan
Tristan Miller
Dear all,
On Sun, 28 Oct 2018 19:44:35 +0100, Tristan Miller <psychonaut@nothingisreal.com> wrote:
I have a similar problem on openSUSE Tumbleweed, both with the openSUSE's own official X2Go packages and the X2Go packages from <https://wiki.x2go.org/doku.php/wiki:repositories:suse>. I do have libssh4-0.7.2 installed, as well as x2goclient-4.1.2.2, but Tumbleweed wants me to upgrade to libssh4-0.8.3. Upgrading libssh4 would mean uninstalling x2goclient, whereas not upgrading libssh4 makes it impossible to install lots of other upgrades that I need.
I suspect that whoever is maintaining the x2goclient RPMs needs to change the build requirements to libssh4-0.8.3. Hopefully this requires changes only to the spec file, not the source code.
I believe I've discovered the solution. Applying the attached patch to the RPM spec file, and including the attached patch to the x2goclient source, allows the RPM to be built and installed on openSUSE Tumbleweed.
Further details, for those who aren't au fait with development tools:
Grab the latest SRPM of x2goclient from <http://packages.x2go.org/opensuse/tumbleweed/heuler/SRPM/x2goclient/>
Install it:
$ sudo rpm --install x2goclient-*.heuler.src.rpm
$ mkdir -p ~/rpmbuild/SOURCES $ cd ~/rpmbuild/SOURCES $ ln -s /usr/src/packages/SOURCES/x2goclient-*.tar.gz . $ ln -s /usr/src/packages/SOURCES/x2goclient-rpmlintrc
Place the attached x2goclient-libssh.patch in ~/rpmbuild/SOURCES.
Patch the spec file using the attached x2goclient.spec.patch file:
$ mkdir -p ~/rpmbuild/SPECS
$ patch -o ~/rpmbuild/SPECS/x2goclient.spec
/usr/src/packages/SPECS/x2goclient.spec x2goclient.spec.patch
$ cd ~/rpmbuild/SPECS $ rpmbuild -bb x2goclient.spec
$ sudo zypper in ~/rpmbuild/RPMS/*/x2goclient*.heuler.*.rpm
The above assumes that you have the necessary development tools installed and the necessary x2goclient dependencies.
I've tried submitting these patches along with a bug report to X2Go's arcane bug reporting system but I have no idea if I've done so properly or if it's even gone through.
Regards, Tristan
Tristan Miller