Submitted by isdahlc on Fri, 09/05/2014 - 13:30 Pro Licensee
When trying to install TRAC the installation fails
Downloading http://ftp.edgewall.com/pub/trac/Trac-1.0.1.tar.gz (3.32 MB) ..
Received 1024 bytes (0 %)
Received 340 kB (10 %)
Received 680 kB (20 %)
Received 1020 kB (30 %)
Received 1.33 MB (40 %)
Received 1.66 MB (50 %)
Received 1.99 MB (60 %)
Received 2.32 MB (70 %)
Received 2.66 MB (80 %)
Received 2.99 MB (90 %)
Received 3.32 MB (100 %)
.. download complete.
Downloading http://www.saddi.com/software/flup/dist/flup-1.0.tar.gz (45.67 kB) ..
Received 1024 bytes (2 %)
Received 5 kB (10 %)
Received 10 kB (21 %)
Received 14 kB (30 %)
Received 19 kB (41 %)
Received 23 kB (50 %)
Received 28 kB (61 %)
Received 32 kB (70 %)
Received 37 kB (81 %)
Received 42 kB (91 %)
Received 45.67 kB (100 %)
.. download complete.
Python module setuptools is required ..
Installing package setuptools ..
Installing package(s) with command yum -y install setuptools ..
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.thelinuxfix.com
* extras: mirrors.lga7.us.voxel.net
* updates: repos.mia.quadranet.com
Setting up Install Process
No package setuptools available.
Error: Nothing to do
.. install failed!
.. automatic Python module installation failed
Installing package python-setuptools ..
Installing package(s) with command yum -y install python-setuptools ..
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.thelinuxfix.com
* extras: mirrors.lga7.us.voxel.net
* updates: repos.mia.quadranet.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-setuptools.noarch 0:0.6.10-3.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
python-setuptools noarch 0.6.10-3.el6 base 336 k
Transaction Summary
================================================================================
Install 1 Package(s)
Total download size: 336 k
Installed size: 1.5 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : python-setuptools-0.6.10-3.el6.noarch 1/1
Verifying : python-setuptools-0.6.10-3.el6.noarch 1/1
Installed:
Complete!
.. install complete.
.. done
Python module psycopg is required ..
Installing package python-psycopg ..
Installing package(s) with command yum -y install python-psycopg ..
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.thelinuxfix.com
* extras: mirrors.lga7.us.voxel.net
* updates: www.gtlib.gatech.edu
Setting up Install Process
No package python-psycopg available.
Error: Nothing to do
.. install failed!
.. automatic Python module installation failed
Installing package python-psycopg2 ..
Installing package(s) with command yum -y install python-psycopg2 ..
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.thelinuxfix.com
* extras: mirrors.lga7.us.voxel.net
* updates: www.gtlib.gatech.edu
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-psycopg2.x86_64 0:2.0.14-2.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
python-psycopg2 x86_64 2.0.14-2.el6 base 100 k
Transaction Summary
================================================================================
Install 1 Package(s)
Total download size: 100 k
Installed size: 318 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : python-psycopg2-2.0.14-2.el6.x86_64 1/1
Verifying : python-psycopg2-2.0.14-2.el6.x86_64 1/1
Installed:
Complete!
.. install complete.
.. done
Python module genshi is required ..
Installing package python-genshi ..
Installing package(s) with command yum -y install python-genshi ..
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.thelinuxfix.com
* extras: mirrors.lga7.us.voxel.net
* updates: www.gtlib.gatech.edu
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-genshi.x86_64 0:0.5.1-7.1.el6 will be installed
--> Processing Dependency: python-babel >= 0.8 for package: python-genshi-0.5.1-7.1.el6.x86_64
--> Running transaction check
---> Package python-babel.noarch 0:0.9.4-5.1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
python-genshi x86_64 0.5.1-7.1.el6 base 429 k
Installing for dependencies:
python-babel noarch 0.9.4-5.1.el6 base 1.4 M
Transaction Summary
================================================================================
Install 2 Package(s)
Total download size: 1.8 M
Installed size: 7.9 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 3.9 MB/s | 1.8 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : python-babel-0.9.4-5.1.el6.noarch 1/2
Installing : python-genshi-0.5.1-7.1.el6.x86_64 2/2
Verifying : python-babel-0.9.4-5.1.el6.noarch 1/2
Verifying : python-genshi-0.5.1-7.1.el6.x86_64 2/2
Installed:
Dependency Installed:
Complete!
.. install complete.
.. done
Now installing Trac version 1.0.1 ..
Trac source install failed :
Traceback (most recent call last):
File "setup.py", line 162, in <module>
**extra
File "/usr/lib64/python2.6/distutils/core.py", line 113, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 221, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 245, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 550, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (Genshi 0.5.1 (/usr/lib64/python2.6/site-packages), Requirement.parse('Genshi>=0.6'))
.. failed! See the error message above for the reason why.
Status:
Active
Comments
Submitted by andreychek on Fri, 09/05/2014 - 14:16 Comment #1
Howdy -- it looks like newer versions of Trac require version 0.6 of a library called Genshi.
The problem is, RHEL/CentOS only provides version 0.5.1 of that library.
Virtualmin shouldn't be offering the ability to install this version of Trac if Genshi 0.6 isn't available, so I'll talk to Jamie about adding in a check for that.
Trac version 0.12.5 should work correctly on your distro, and doesn't have the same Genshi requirements. You could always try installing that.
Submitted by isdahlc on Fri, 09/05/2014 - 14:30 Pro Licensee Comment #2
The 0.12.5 package failed too... :(
Downloading http://ftp.edgewall.com/pub/trac/Trac-0.12.5.tar.gz (2.36 MB) ..
Received 1024 bytes (0 %)
Received 242 kB (10 %)
Received 484 kB (20 %)
Received 725 kB (30 %)
Received 967 kB (40 %)
Received 1.18 MB (50 %)
Received 1.42 MB (60 %)
Received 1.65 MB (70 %)
Received 1.89 MB (80 %)
Received 2.12 MB (90 %)
Received 2.36 MB (100 %)
.. download complete.
Found http://www.saddi.com:80/software/flup/dist/flup-1.0.tar.gz in cache ..
Python module psycopg is required ..
Installing package python-psycopg ..
Installing package(s) with command yum -y install python-psycopg ..
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.thelinuxfix.com
* extras: mirrors.lga7.us.voxel.net
* updates: www.gtlib.gatech.edu
Setting up Install Process
No package python-psycopg available.
Error: Nothing to do
.. install failed!
.. automatic Python module installation failed
Installing package python-psycopg2 ..
Installing package(s) with command yum -y install python-psycopg2.x86_64 ..
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.thelinuxfix.com
* extras: mirror.solarvps.com
* updates: www.gtlib.gatech.edu
Setting up Install Process
Package python-psycopg2-2.0.14-2.el6.x86_64 already installed and latest version
Nothing to do
.. install complete.
.. done
Now installing Trac version 0.12.5 ..
Trac source install failed :
Traceback (most recent call last):
File "setup.py", line 156, in <module>
**extra
File "/usr/lib64/python2.6/distutils/core.py", line 113, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 221, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 245, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 550, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (Genshi 0.5.1 (/usr/lib64/python2.6/site-packages), Requirement.parse('Genshi>=0.6,<0.7dev'))
.. failed! See the error message above for the reason why.