The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Installing Subversion on a cPanel Server

Discussion in 'General Discussion' started by Michael_SA, Apr 12, 2010.

  1. Michael_SA

    Michael_SA Registered

    Joined:
    Apr 12, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    How do I install subversion on a cPanel server.

    I have tried running this in ssh:
    Code:
    #yum install subversion
    but it gives the following error:
    Code:
    root@host [~]# yum install subversion
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * addons: mirror.team-cymru.org
    * base: dist1.800hosting.com
    * extras: mirror.5ninesolutions.com
    * updates: mirror.team-cymru.org
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package subversion.i386 0:1.4.2-4.el5_3.1 set to be updated
    --> Processing Dependency: perl(URI) >= 1.17 for package: subversion
    --> Processing Dependency: neon >= 0.25.5-6.el5 for package: subversion
    --> Processing Dependency: libneon.so.25 for package: subversion
    --> Processing Dependency: libapr-1.so.0 for package: subversion
    --> Processing Dependency: libaprutil-1.so.0 for package: subversion
    --> Running transaction check
    ---> Package apr.i386 0:1.2.7-11.el5_3.1 set to be updated
    ---> Package apr-util.i386 0:1.2.7-7.el5_3.2 set to be updated
    ---> Package neon.i386 0:0.25.5-10.el5_4.1 set to be updated
    ---> Package subversion.i386 0:1.4.2-4.el5_3.1 set to be updated
    --> Processing Dependency: perl(URI) >= 1.17 for package: subversion
    --> Finished Dependency Resolution
    subversion-1.4.2-4.el5_3.1.i386 from base has depsolving problems
    --> Missing Dependency: perl(URI) >= 1.17 is needed by package
    subversion-1.4.2-4.el5_3.1.i386 (base)
    Error: Missing Dependency: perl(URI) >= 1.17 is needed by package
    subversion-1.4.2-4.el5_3.1.i386 (base)
    You could try using --skip-broken to work around the problem
    You could try running: package-cleanup --problems
    package-cleanup --dupes
    rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    Can anyone help?
     
  2. garconcn

    garconcn Well-Known Member

    Joined:
    Oct 29, 2009
    Messages:
    98
    Likes Received:
    1
    Trophy Points:
    8
    I solved the problem using the following way:

    1. Removed perl* part from the yum repository(/etc/yum.conf)
    2. yum install subversion
    3. Add perl* back to the yum.conf file
     
  3. Michael_SA

    Michael_SA Registered

    Joined:
    Apr 12, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thanks mate. I'll give this a go.
     
  4. romacities

    romacities Member

    Joined:
    Sep 10, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Denver, CO
    cPanel Access Level:
    Root Administrator
    I was having the same issue and came up with the better way to fix the issue and no need to remove/install perl.
    I hope this helps everyone and we can stop looking for a solution finally.

    /http://sdkit.com/tutorial/how-to-fix-missing-dependency-perluri-1-17-is-needed-by-package-subversion/

    Good luck.
     
  5. luigidelgado

    luigidelgado Well-Known Member

    Joined:
    Nov 6, 2010
    Messages:
    109
    Likes Received:
    2
    Trophy Points:
    16
    Location:
    Mexico
    cPanel Access Level:
    Root Administrator
    Twitter:
    You can insted force install the required RPM:
    Code:
    rpm -ivh http://mirror.centos.org/centos-5/5.4/os/i386/CentOS/perl-URI-1.35-3.noarch.rpm
    yum install subversion
    EDIT:
    BTW, This is not needed in Centos/CloudLinux 6.x
     
    #5 luigidelgado, Jul 26, 2012
    Last edited: Jul 27, 2012
  6. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    16
    Awesome that these workarounds are no longer needed on CentOS 6. "yum install subversion" just works, finally. Thanks for the tip.
     
  7. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    16
    Oops, I spoke too soon. This method "yum install subversion" will get you a three year old version!

    svn --version
    svn, version 1.6.11 (r934486)
    compiled Jun 23 2012, 00:28:25

    Copyright (C) 2000-2009 CollabNet.

    What in the world??? Does anyone have a decent recipe for getting a simple yum install to give you an up to date version of svn?
     
  8. Adnan Kurtovic

    Adnan Kurtovic Registered

    Joined:
    Aug 9, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sarajevo, Bosnia and Herzegovina, Bosnia and Herze
    cPanel Access Level:
    Root Administrator
    Do not forget to change link to reflect version of CentOS. For example, for Centos 5.5 link would be
    Code:
    http://mirror.centos.org/centos-5/5.5/os/i386/CentOS/perl-URI-1.35-3.noarch.rpm
     
  9. shacker23

    shacker23 Well-Known Member

    Joined:
    Feb 20, 2005
    Messages:
    263
    Likes Received:
    1
    Trophy Points:
    16
    Thanks for the tip Adnan.
     
Loading...

Share This Page