For the package maintainers;
Situation: We have an old freenx server farm running RHEL 6 and freenx server 
software.  This farm consists of 9 nodes and two load balancers.  We are 
looking to switch from RHEL to Fedora 20 and x2go was selected as the best 
solution to populate the new server farm.  We were really impressed with the 
client server performance and the activity of the project.  I have been 
following the instructions on:

http://wiki.x2go.org/doku.php/wiki:advanced:x2gobroker:loadbalancing

However, I have run into a problem with building a load balancer with the 
x2gobroker.

I configured the x2go repo on our servers:


# cat /etc/yum.repos.d/x2go.repo 
[x2go-releases]
name=Upstream X2Go Packages (release builds)
baseurl=http://packages.x2go.org/fedora/20/main/$basearch
gpgcheck=0
enabled=1
protect=0

[x2go-heuler]
name=Upstream X2Go heuler Packages
baseurl=http://packages.x2go.org/fedora/20/heuler/$basearch
gpgcheck=0
enabled=1
protect=0

#[x2go-nightly]
#name=Upstream X2Go Packages (nightly builds)
#baseurl=http://packages.x2go.org/fedora/20/main/$basearch
#gpgcheck=0
#enabled=1
#protect=0


Here is what I experienced when I go to install the session broker authservice 
package.


[root@x2go-lb1 ~]# yum install x2gobroker-authservice.x86_64
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package x2gobroker-authservice.x86_64 
0:0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20 will be installed
--> Processing Dependency: python-x2gobroker = 
0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20 for package: 
x2gobroker-authservice-0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20.x86_64
--> Processing Dependency: python-pampy for package: 
x2gobroker-authservice-0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20.x86_64
--> Running transaction check
---> Package python-x2gobroker.x86_64 
0:0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20 will be installed
--> Processing Dependency: python-pam for package: 
python-x2gobroker-0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20.x86_64
---> Package x2gobroker-authservice.x86_64 
0:0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20 will be installed
--> Processing Dependency: python-pampy for package: 
x2gobroker-authservice-0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20.x86_64
--> Running transaction check
---> Package python-pam.noarch 0:0.1.3-2.fc20 will be installed
---> Package x2gobroker-authservice.x86_64 
0:0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20 will be installed
--> Processing Dependency: python-pampy for package: 
x2gobroker-authservice-0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20.x86_64
--> Finished Dependency Resolution

Error: Package: 
x2gobroker-authservice-0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20.x86_64 
(x2go-heuler)
           Requires: python-pampy

 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@x2go-lb1 ~]# 


So I know that python-pampy was phased out by the python-pam package.  However, 
I am running Fedora 20 and I don't seem to have the corrected rpms that the 
Debian distros received in the heuler repo.  I learned about the Debian fix 
from the list serv archives:

http://lists.x2go.org/pipermail/x2go-user/2013-October/001629.html

So I created a python-pampy rpm and installed it in an attempt to fix the 
dependancy problem.




[root@x2go-lb1 x86_64]# yum localinstall python-pampy-0.1.4-3.1.x86_64.rpm
Loaded plugins: langpacks, refresh-packagekit
Examining python-pampy-0.1.4-3.1.x86_64.rpm: python-pampy-0.1.4-3.1.x86_64
Marking python-pampy-0.1.4-3.1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package python-pampy.x86_64 0:0.1.4-3.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================
 Package                     Arch                  Version                   
Repository                                     Size
=================================================================================================================================
Installing:
 python-pampy                x86_64                0.1.4-3.1                 
/python-pampy-0.1.4-3.1.x86_64                 10 k

Transaction Summary
=================================================================================================================================
Install  1 Package

Total size: 10 k
Installed size: 10 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
  Installing : python-pampy-0.1.4-3.1.x86_64                                    
                                             1/1 
  Verifying  : python-pampy-0.1.4-3.1.x86_64                                    
                                             1/1 

Installed:
  python-pampy.x86_64 0:0.1.4-3.1                                               
                                                 

Complete!
[root@x2go-lb1 x86_64]# 


Then I installed the x2gobroker-authservice.x86_64 package and I get the 
following:


[root@x2go-lb1 ~]# yum install x2gobroker-authservice.x86_64
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package x2gobroker-authservice.x86_64 
0:0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20 will be installed
--> Processing Dependency: python-x2gobroker = 
0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20 for package: 
x2gobroker-authservice-0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20.x86_64
--> Running transaction check
---> Package python-x2gobroker.x86_64 
0:0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20 will be installed
--> Processing Dependency: python-pam for package: 
python-x2gobroker-0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20.x86_64
--> Running transaction check
---> Package python-pam.noarch 0:0.1.3-2.fc20 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================
 Package                        Arch           Version                          
                       Repository           Size
=================================================================================================================================
Installing:
 x2gobroker-authservice         x86_64         
0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20          x2go-heuler          10 
k
Installing for dependencies:
 python-pam                     noarch         0.1.3-2.fc20                     
                       fedora              8.4 k
 python-x2gobroker              x86_64         
0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20          x2go-heuler         126 
k

Transaction Summary
=================================================================================================================================
Install  1 Package (+2 Dependent packages)

Total size: 144 k
Total download size: 134 k
Installed size: 631 k
Is this ok [y/d/N]: 


As you can see the x2gobroker-authservice.x86_64 package needed the 
python-pampy, but now it wants to install the right python-pam package which 
will conflict with python-pampy.

Is this ok [y/d/N]: y
Downloading packages:
(1/2): python-pam-0.1.3-2.fc20.noarch.rpm                                       
                          | 8.4 kB  00:00:00     
(2/2): 
python-x2gobroker-0.0.3.0-0.0x2go1.0.git20150221.892.heuler.fc20.x86_64.rpm     
                   | 126 kB  00:00:00     
---------------------------------------------------------------------------------------------------------------------------------
Total                                                                           
                 164 kB/s | 134 kB  00:00:00     
Running transaction check
Running transaction test


Transaction check error:
  file /usr/lib/python2.7/site-packages/pam.py from install of 
python-pam-0.1.3-2.fc20.noarch conflicts with file from package 
python-pampy-0.1.4-3.1.x86_64
  file /usr/lib/python2.7/site-packages/pam.pyc from install of 
python-pam-0.1.3-2.fc20.noarch conflicts with file from package 
python-pampy-0.1.4-3.1.x86_64
  file /usr/lib/python2.7/site-packages/pam.pyo from install of 
python-pam-0.1.3-2.fc20.noarch conflicts with file from package 
python-pampy-0.1.4-3.1.x86_64

Error Summary
-------------

[root@x2go-lb1 ~]# 


Is it possible, for convenience purposes to fix the Fedora 20 repo or is there 
a better way I am unaware of.  Thank you for your assistance.

Robert Weiskopff
UNIX/Linux Administrator
Email: [email protected]
_______________________________________________
x2go-user mailing list
[email protected]
http://lists.x2go.org/listinfo/x2go-user

Reply via email to