Problem with Trac install script in Virtualmin Pro

8 posts / 0 new
Last post
#1 Sat, 07/05/2008 - 09:56
adamo@adamo.org

Problem with Trac install script in Virtualmin Pro

The install starts out fine, but then I get this:

[code:1]Python module subversion is required .. Installing package python-subversion ..

  Installing package(s) with command yum -y install python-subversion ..

  Loading "installonlyn" plugin
  Setting up Install Process
  Setting up repositories
  Reading repository metadata in from local files
  Parsing package install arguments
  Nothing to do

  .. install complete.

.. automatic Python module installation failed[/code:1]

I'm on CentOS 5. How can I get around this?

I could install Trac manually but that's a real pain in the butt and the install script is there so I'd like to use it. Any ideas?

Sat, 07/05/2008 - 14:19
ronald
ronald's picture

i dont think there is a package python-subversion known in centos.
but you can download one here
http://packages.debian.org/nl/sid/python-subversion or even better look here
http://www.daniel-skinner.co.uk/setup-subversion-and-trac-on-centos-5/06...

seems to be called: subversion<br><br>Post edited by: ronald, at: 2008/07/05 14:26

Sat, 07/05/2008 - 15:40 (Reply to #2)
andreychek

Howdy,

I'm under the impression that you shouldn't need to go to a third party software repository in order to install any of the programs from the Script Installers. Things can go awry when you start using unsupported software.

While "python-subversion" is in fact provided by the "subversion" package in the DAG RPM repository, I highly recommend against using it -- what I would do is file a Virtualmin bug report and see what they had in mind for how you'd get Trac installed on CentOS.
-Eric

Sat, 07/05/2008 - 18:52 (Reply to #3)
ronald
ronald's picture

i just checked on my (default) centos system.
subversion is a default package from Centos base repository:
Package subversion - 1.4.2-2.el5.i386.
which can be installed with yum install subversion

what I think it may be is that the install script says::yum -y install python-subversion" and that is not in centos, so it wouldn't know what to do with that command.

submitting a ticket is a good idea to get this corrected.

Sat, 07/26/2008 - 08:48
otis

I have encountered the same problem. Did you find a solution?

Sat, 07/26/2008 - 09:25 (Reply to #5)
Sat, 07/26/2008 - 09:44 (Reply to #6)
Joe
Joe's picture

Oops. There is no need for a python-subversion package on CentOS (or any of the Red Hat based systems). It's already installed as part of the subversion package. It's a bug in detection, as the module is actually named "svn". I'll update the ticket and hand it over to Jamie for fixing.

--

Check out the forum guidelines!

Thu, 08/07/2008 - 18:20
adamo@adamo.org

Thanks a lot, I kind of thought that was the issue.

Topic locked