Subject: Bug#899: [X2Go-Dev] EPEL 6 8 Jul 2015 release has dependency error

From: Mihai Moldovan <[email-masked]>
Date: Wed, 1 Jul 2015 19:29:56 +0200

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/3e2ca432eee448392bed25e4ace4fc5cc5bd7c9c03ba52235a6350e3c0fe6d3d-primary.sqlite.bz2
- then bunzip2'd and with sqlite(3) let loose on it.

The corresponding XML file,
http://packages.x2go.org/epel/6/main/x86_64/repodata/2f68f7e2c19ed35ddbf5fba0615c01241c7629779f8330b657ccf399c90fa221-primary.xml.gz
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