ramblings of an IT professional
Posts tagged subversion
Subversion won’t install
Jul 2nd
Hello readers!
Below is another issue I’ve seen a few times now and I figured it’s worth writing a post about.
Situation: Client cannot install subversion or another binary on his dedicated or VPS server via yum. They get an error such as:
subversion-1.4.2-4.el5_3.1.x86_64 from base has depsolving problems --> Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.4.2-4.el5_3.1.x86_64 (base) 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) Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion-1.4.2-4.el5_3.1.x86_64 (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
To repair this, you have to install perl-URI but it really doesn’t give many details as to how. To fix this on CentOS 5.6 just do the following:
wget http://mirror.centos.org/centos-5/5.6/os/x86_64/CentOS/perl-URI-1.35-3.noarch.rpm rpm -ivh perl-URI-1.35-3.noarch.rpm
Then retry the installation via yum for subversion. Please note, the wget link changes depending on CentOS version. For Centos 5.5:
wget http://mirror.centos.org/centos-5/5.5/os/x86_64/CentOS/perl-URI-1.35-3.noarch.rpm rpm -ivh perl-URI-1.35-3.noarch.rpm
And for CentOS 5.4:
wget http://mirror.centos.org/centos-5/5.4/os/x86_64/CentOS/perl-URI-1.35-3.noarch.rpm rpm -ivh perl-URI-1.35-3.noarch.rpm
Thank you all for reading and I hope this helps everyone solve another common issue more quickly and efficiently.