Package: X2Go BTS Version: 4.0.1.19
When I try to yum install x2goserver on RHEL 6.6 from epel/6/x86_64, I get a dependency error for libXcompshad.so.3 required by nxagent. Downloading the package directly from http://packages.x2go.org/epel/6/main/x86_64/rpms/nx-libs/libXcompshad3-3.5.0... and using yum to install just the one RPM returns the error "Nothing to do".
I have a clean RHEL6.6 system.
See attachments for: x2go.repo Output of "yum install x2goserver"
Abridged yum output:
[PAH-TEST-134-62-62]
tmp> yum install x2goserver 2>&1 | tee /login/peteh/logs/yum_install_x2goserver.log
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id,
: refresh-packagekit, security, subscription-manager, tmprepo,
: verify, versionlock
Loading support for Red Hat kernel ABI
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package x2goserver.x86_64 0:4.0.1.19-0.0x2go2.1.git20150608.1064.main.el6 will be installed
...
---> Package nxagent.x86_64 0:3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 will be installed
...
--> Processing Dependency: libXcompshad.so.3()(64bit) for package: nxagent-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64
...
--> Processing Dependency: libXcompshad.so.3()(64bit) for package: nxagent-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64
--> Running transaction check
---> Package nx-libs.x86_64 0:3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 will be installed
---> Package nxagent.x86_64 0:3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 will be installed
--> Processing Dependency: libXcompshad.so.3()(64bit) for package: nxagent-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64
--> Finished Dependency Resolution
Error: Package: nxagent-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64 (x2go-release-epel)
Requires: libXcompshad.so.3()(64bit)
Direct investigation of the repo showed a non-zero length libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm, which I downloaded and tried to pre-install using yum:
[PAH-TEST-134-62-62] tmp> ll libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm -rw-rw-r-- 1 root root 31940 Jun 7 19:35 libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm
[PAH-TEST-134-62-62] tmp> yum install ./libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager, tmprepo, verify, versionlock Loading support for Red Hat kernel ABI Setting up Install Process Examining ./libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm: libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64 Error: Nothing to do
Regards, Pete Harris Danaher / Tektronix Danaher T&M / Global IT Infrastructure / UNIX Servers & Storage MS 50-555 / PO BOX 500 / BEAVERTON OR 97077-0500 Phone: +1.503.627.3989 Fax: +1.503.627.4005 -- Any opinions expressed are those of the author and may not be those of Danaher / Tektronix --
On 30.06.2015 10:23 PM, Harris, Peter A wrote:
When I try to yum install x2goserver on RHEL 6.6 from epel/6/x86_64, I get a dependency error for libXcompshad.so.3 required by nxagent.
This is odd.
Downloading the package directly from http://packages.x2go.org/epel/6/main/x86_64/rpms/nx-libs/libXcompshad3-3.5.0... and using yum to install just the one RPM returns the error "Nothing to do".
This means it's already installed, check with rpm -qa | grep Xcompshad
See attachments for: x2go.repo
Looks good.
Output of "yum install x2goserver"
Doesn't look good.
What does rpm -ql libXcompshad3 output? It should be listing /usr/lib64/libXcompshad.so.3 - the library nxagent is depending on.
I also unpacked the libXcompshad3 package manually to make sure that the library is bundled in there - both the library and its symlink are part of the RPM file.
Mihai
[PAH-TEST-134-62-62] tmp> yum install ./libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager, tmprepo, verify, versionlock Loading support for Red Hat kernel ABI Setting up Install Process Examining ./libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm: libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64 Error: Nothing to do
[PAH-TEST-134-62-62] tmp> rpm -iv ./libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm warning: ./libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 5bfe2b6e: NOKEY error: Failed dependencies: libNX_X11.so.6()(64bit) is needed by libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64 libNX_Xdamage.so.1()(64bit) is needed by libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64 libNX_Xrandr.so.2()(64bit) is needed by libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64 libNX_Xtst.so.6()(64bit) is needed by libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64 nx-libs(x86-64) >= 3.5.0.29 is needed by libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64
[PAH-TEST-134-62-62] tmp> rpm -qa | egrep compshad
[PAH-TEST-134-62-62]
tmp> yum provides '*/libXcompshad.so.3'
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager, tmprepo, verify, versionlock
Loading support for Red Hat kernel ABI
Mondorescue | 1.3 kB 00:00
rhel-6-workstation-optional-rpms | 3.5 kB 00:00
rhel-6-workstation-rpms | 3.8 kB 00:00
rhel-6-workstation-supplementary-rpms | 3.5 kB 00:00
rhel-6-workstation-thirdparty-oracle-java-rpms | 3.1 kB 00:00
x2go-extras-epel | 2.9 kB 00:00
x2go-release-epel | 2.9 kB 00:00
rhel-6-workstation-rpms/filelists_db | 18 MB 00:02
No Matches found
[PAH-TEST-134-62-62] tmp> yum clean packages metadata dbcache rpmdb plugins Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager, tmprepo, verify, versionlock Loading support for Red Hat kernel ABI Cleaning repos: mondorescue rhel-6-workstation-optional-rpms rhel-6-workstation-rpms rhel-6-workstation-supplementary-rpms : rhel-6-workstation-thirdparty-oracle-java-rpms x2go-extras-epel x2go-release-epel 0 delta-package files removed, by presto 54225 package files removed 22 metadata files removed 14 sqlite files removed 4 rpmdb files removed
[PAH-TEST-134-62-62]
tmp> rpm -ql libXcompshad3
package libXcompshad3 is not installed
[PAH-TEST-134-62-62] tmp> yum install ./libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager, tmprepo, verify, versionlock Loading support for Red Hat kernel ABI Setting up Install Process Examining ./libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm: libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64 Error: Nothing to do
[PAH-TEST-134-62-62]
tmp> yum search libXcompshad
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager, tmprepo, verify, versionlock
Loading support for Red Hat kernel ABI
mondorescue | 1.3 kB 00:00
mondorescue/primary | 41 kB 00:00
mondorescue 165/165
rhel-6-workstation-optional-rpms | 3.5 kB 00:00
rhel-6-workstation-optional-rpms/primary_db | 2.5 MB 00:00
rhel-6-workstation-rpms | 3.8 kB 00:00
rhel-6-workstation-rpms/primary_db | 33 MB 00:06
rhel-6-workstation-supplementary-rpms | 3.5 kB 00:00
rhel-6-workstation-supplementary-rpms/primary_db | 456 kB 00:00
rhel-6-workstation-thirdparty-oracle-java-rpms | 3.1 kB 00:00
rhel-6-workstation-thirdparty-oracle-java-rpms/primary_db | 273 kB 00:00
x2go-extras-epel | 2.9 kB 00:00
x2go-extras-epel/primary_db | 9.4 kB 00:00
x2go-release-epel | 2.9 kB 00:00
x2go-release-epel/primary_db | 33 kB 00:00
Warning: No matches found for: libXcompshad
No Matches found
[PAH-TEST-134-62-62] tmp> yum search libXcomp Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager, tmprepo, verify, versionlock Loading support for Red Hat kernel ABI ============================================ N/S Matched: libXcomp ============================================ libXcomposite-devel.i686 : Development files for libXcomposite libXcomposite-devel.x86_64 : Development files for libXcomposite libXcomp-devel.x86_64 : Development files for the NX differential compression library libXcomp3.x86_64 : NX differential compression library libXcompext-devel.x86_64 : Development files for the NX compression extensions library libXcompext3.x86_64 : NX protocol compression extensions library libXcomposite.i686 : X Composite Extension library libXcomposite.x86_64 : X Composite Extension library
Name and summary matches only, use "search all" for everything.
[PAH-TEST-134-62-62]
tmp> yum list libXcomp\*
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit,
: security, subscription-manager, tmprepo, verify, versionlock
Loading support for Red Hat kernel ABI
Installed Packages
libXcomposite.i686 0.4.3-4.el6 @rhel-6-workstation-rpms
libXcomposite.x86_64 0.4.3-4.el6 @anaconda-RedHatEnterpriseLinux-201409260744.x86_64/6.6
libXcomposite-devel.x86_64 0.4.3-4.el6 @anaconda-RedHatEnterpriseLinux-201409260744.x86_64/6.6
Available Packages
libXcomp-devel.x86_64 3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 x2go-release-epel
libXcomp3.x86_64 3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 x2go-release-epel
libXcompext-devel.x86_64 3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 x2go-release-epel
libXcompext3.x86_64 3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 x2go-release-epel
libXcomposite-devel.i686 0.4.3-4.el6 rhel-6-workstation-rpms
Regards, Pete...
-----Original Message----- From: Mihai Moldovan [mailto:ionic@ionic.de] Sent: Tuesday, June 30, 2015 4:37 PM To: Harris, Peter A; 899@bugs.x2go.org Subject: Re: [X2Go-Dev] EPEL 6 8 Jul 2015 release has dependency error
On 30.06.2015 10:23 PM, Harris, Peter A wrote:[PAH>>]
When I try to yum install x2goserver on RHEL 6.6 from epel/6/x86_64, I get a dependency error for libXcompshad.so.3 required by nxagent.
This is odd.
Downloading the package directly from http://packages.x2go.org/epel/6/main/x86_64/rpms/nx-libs/libXcompshad3-3.5.0... and using yum to install just the one RPM returns the error "Nothing to do".
This means it's already installed, check with rpm -qa | grep Xcompshad
See attachments for: x2go.repo
Looks good.
Output of "yum install x2goserver"
Doesn't look good.
What does rpm -ql libXcompshad3 output? It should be listing /usr/lib64/libXcompshad.so.3 - the library nxagent is depending on.
I also unpacked the libXcompshad3 package manually to make sure that the library is bundled in there - both the library and its symlink are part of the RPM file.
Mihai
On 01.07.2015 05:49 PM, Harris, Peter A wrote:
[PAH-TEST-134-62-62] tmp> rpm -iv ./libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm warning: ./libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 5bfe2b6e: NOKEY
Let's hope it's that... if you disable gpgcheck (=> set gpgcheck=0) in x2go.repo, yum clean and try again, does it work correctly?
Mihai
Nope. That does not help. "yum install x2goserver" fails as before for dependency. "yum list" still does not show the compshad package.
I downloaded the mirror and collected all the dependencies for libXcompshad3 into a test directory. "rpm -iv --test ./*.rpm" issued no errors (only the warning about the gpg key for the first rpm, in this case libNX_X11). So as you said yesterday, the rpm(s) are correct.
Interestingly, "yum install ./*.rpm" has no problem! So it appears to me that yum, when given all the rpms directly to satisfy all dependencies, has no problem, but when it is required to go to the repo, it fails. To confirm that, I asked yum to install libXcompshad3 and all it dependencies, but this time go to the repo for all packages:
[PAH-TEST-134-62-62] tmp> yum install libNX_X11-6 libNX_Xdamage1 libNX_Xext6 libNX_Xrandr2 libNX_Xrender1 libNX_Xtst6 libXcomp3 libXcompshad3 nx-libs Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager, tmprepo, verify, versionlock Loading support for Red Hat kernel ABI Setting up Install Process No package libXcompshad3 available. Resolving Dependencies --> Running transaction check ---> Package libNX_X11-6.x86_64 0:3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 will be installed ---> Package libNX_Xdamage1.x86_64 0:3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 will be installed ---> Package libNX_Xext6.x86_64 0:3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 will be installed ---> Package libNX_Xrandr2.x86_64 0:3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 will be installed ---> Package libNX_Xrender1.x86_64 0:3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 will be installed ---> Package libNX_Xtst6.x86_64 0:3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 will be installed ---> Package libXcomp3.x86_64 0:3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 will be installed ---> Package nx-libs.x86_64 0:3.5.0.31-0.0x2go1.1.git20150608.671.main.el6 will be installed --> Finished Dependency Resolution
Dependencies Resolved ...
Regards, Pete...
-----Original Message----- From: Mihai Moldovan [mailto:ionic@ionic.de] Sent: Wednesday, July 01, 2015 9:02 AM To: Harris, Peter A; 899@bugs.x2go.org Subject: Re: [X2Go-Dev] EPEL 6 8 Jul 2015 release has dependency error
On 01.07.2015 05:49 PM, Harris, Peter A wrote:
[PAH-TEST-134-62-62] tmp> rpm -iv ./libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm warning: ./libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 5bfe2b6e: NOKEY
Let's hope it's that... if you disable gpgcheck (=> set gpgcheck=0) in x2go.repo, yum clean and try again, does it work correctly?
Mihai
On 01.07.2015 06:34 PM, Harris, Peter A wrote:
Nope. That does not help. "yum install x2goserver" fails as before for dependency. "yum list" still does not show the compshad package.
But why? I've checked the repository database and XML files created by createrepo on the server and they both list the package:
ionic@nopileos~% sqlite3
3e2ca432eee448392bed25e4ace4fc5cc5bd7c9c03ba52235a6350e3c0fe6d3d-primary.sqlite
SQLite version 3.8.10.2 2015-05-20 18:17:19
Enter ".help" for usage hints.
sqlite> .explain
sqlite> SELECT * FROM packages
WHERE name='libXcompshad3';
pkgK pkgId name arch vers epoch re summary
description
url time_file time_build rpm_license rpm_vendor
rpm_group rpm_buildhost rpm_sourcerpm rpm_header_start rpm_header_end rpm_packager size_package size_installed size_archive location_href location_base checksum_type
26 608f14174d931a88de8aa4c58e1873e042be3191d3b13bc360fb14e83fb59b66 libXcompshad3 x86_64 3.5.0.31 0 0.0x2go1.1.git20150608.671.main.el6 NX session shadowing Library NX is a software suite from NoMachine which implements very efficient compression of the X11 protocol. This increases performance when using X applications over a network, especially a slow one.
This package provides the session shadowing library. http://x2go.org/ 1433730944 1433728830 GPLv2+ System Environment/Libraries japsand.x2go.org nx-libs-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.src.rpm 880 4568 31940 73616 74684 rpms/nx-libs/libXcompshad3-3.5.0.31-0.0x2go1.1.git20150608.671.main.el6.x86_64.rpm sha256 sqlite>
(The output looks messy, but the package is clearly recorded.)
That's for the sqlite DB downloaded from http://packages.x2go.org/epel/6/main/x86_64/repodata/3e2ca432eee448392bed25e...
The corresponding XML file, http://packages.x2go.org/epel/6/main/x86_64/repodata/2f68f7e2c19ed35ddbf5fba... also lists it.
Interestingly, "yum install ./*.rpm" has no problem! So it appears to me that yum, when given all the rpms directly to satisfy all dependencies, has no problem, but when it is required to go to the repo, it fails. To confirm that, I asked yum to install libXcompshad3 and all it dependencies, but this time go to the repo for all packages:
How about adding -v --rpmverbosity=debug --nogpgcheck to the yum invocation to get more extensive messages? There's also a -d <number> flag for even more messages, but let's hope we won't need this...
Mihai