February 13, 2008
While attempting to install Subversion via yum today, I received the following error:
[root@sXXX ~]# yum install subversion
Loading “installonlyn” plugin
Setting up Install Process
Setting up repositories
extras 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
–> Populating transaction set with selected packages. Please wait.
—> Downloading header for subversion to pack into transaction set.
subversion-1.4.2-2.el5.i3 100% |=========================| 42 kB 00:00
—> Package subversion.i386 0:1.4.2-2.el5 set to be updated
–> Running transaction check
–> Processing Dependency: libaprutil-1.so.0 for package: subversion
–> Processing Dependency: perl(URI) >= 1.17 for package: subversion
–> Processing Dependency: libneon.so.25 for package: subversion
–> Processing Dependency: libapr-1.so.0 for package: subversion
–> Restarting Dependency Resolution with new changes.
–> Populating transaction set with selected packages. Please wait.
—> Downloading header for apr-util to pack into transaction set.
apr-util-1.2.7-6.i386.rpm 100% |=========================| 7.3 kB 00:00
—> Package apr-util.i386 0:1.2.7-6 set to be updated
—> Downloading header for neon to pack into transaction set.
neon-0.25.5-5.1.i386.rpm 100% |=========================| 6.7 kB 00:00
—> Package neon.i386 0:0.25.5-5.1 set to be updated
—> Downloading header for apr to pack into transaction set.
apr-1.2.7-11.i386.rpm 100% |=========================| 10 kB 00:00
—> Package apr.i386 0:1.2.7-11 set to be updated
–> Running transaction check
–> Processing Dependency: libpq.so.4 for package: apr-util
–> Processing Dependency: perl(URI) >= 1.17 for package: subversion
–> Restarting Dependency Resolution with new changes.
–> Populating transaction set with selected packages. Please wait.
—> Downloading header for postgresql-libs to pack into transaction set.
postgresql-libs-8.1.11-1. 100% |=========================| 16 kB 00:00
—> Package postgresql-libs.i386 0:8.1.11-1.el5_1.1 set to be updated
–> Running transaction check
–> Processing Dependency: perl(URI) >= 1.17 for package: subversion
–> Finished Dependency Resolution
Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion
Steps to resolve this:
1. Download the perl(URI) with version greater than 1.17 using the following command.
wget http://fr.rpmfind.net/linux/fedora/core/3/x86_64/os/Fedora/RPMS/perl-URI-1.30-4.noarch.rpm
2. Install the specified package using the follwing command.
rpm -i perl-URI-1.30-4.noarch.rpm
3. Install subversion using “yum“.
yum install subversion
You should now have successfully installed Subversion:
[root@sXXX ~]# svn help
usage: svn [options] [args]
Subversion command-line client, version 1.4.2.
Type ’svn help ‘ for help on a specific subcommand.
Type ’svn –version’ to see the program version and RA modules
or ’svn –version –quiet’ to see just the version number.
Most subcommands take file and/or directory arguments, recursing
on the directories. If no arguments are supplied to such a
command, it recurses on the current directory (inclusive) by default.
Available subcommands:
add
blame (praise, annotate, ann)
cat
checkout (co)
cleanup
commit (ci)
copy (cp)
delete (del, remove, rm)
diff (di)
export
help (?, h)
import
info
list (ls)
lock
log
merge
mkdir
move (mv, rename, ren)
propdel (pdel, pd)
propedit (pedit, pe)
propget (pget, pg)
proplist (plist, pl)
propset (pset, ps)
resolved
revert
status (stat, st)
switch (sw)
unlock
update (up)
Subversion is a tool for version control.
For additional information, see http://subversion.tigris.org/
Tags:
centos,
centos5,
subversion,
system administration,
yum
Related posts
No Comments
Filed under: Uncategorized by — aaron @ 7:17 pm