Trying to install SVN client Scientific Linux

user150591 asked:

I am trying to install SVN client on Scientific Linux but I am getting the following output if I do a “sudo yum install subversion”

Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package subversion.x86_64 0:1.7.8-1 will be installed
--> Processing Dependency: liblber-2.3.so.0()(64bit) for package: subversion-1.7.8-1.x86_64
--> Processing Dependency: libexpat.so.0()(64bit) for package: subversion-1.7.8-1.x86_64
--> Processing Dependency: libdb-4.3.so()(64bit) for package: subversion-1.7.8-1.x86_64
--> Processing Dependency: libneon.so.25()(64bit) for package: subversion-1.7.8-1.x86_64
--> Processing Dependency: libcrypto.so.6()(64bit) for package: subversion-1.7.8-1.x86_64
--> Processing Dependency: libldap-2.3.so.0()(64bit) for package: subversion-1.7.8-1.x86_64
--> Processing Dependency: libssl.so.6()(64bit) for package: subversion-1.7.8-1.x86_64
--> Running transaction check
---> Package compat-db43.x86_64 0:4.3.29-15.el6 will be installed
---> Package compat-expat1.x86_64 0:1.95.8-8.el6 will be installed
---> Package compat-openldap.x86_64 1:2.3.43-2.el6 will be installed
---> Package openssl098e.x86_64 0:0.9.8e-17.el6_2.2 will be installed
---> Package subversion.x86_64 0:1.7.8-1 will be installed
--> Processing Dependency: libneon.so.25()(64bit) for package: subversion-1.7.8-1.x86_64
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
httpd-tools-2.2.15-15.sl6.1.x86_64 is a duplicate with httpd-tools-2.2.15-15.sl6.x86_64

My answer:


Your installed packages (specifically httpd-tools) are out of sync with the distribution repositories. You need to get back into sync before you can move forward.

To resolve the issue:

  1. Use yum clean all to erase your local cache and metadata. It will get rebuilt the next time you run yum.
  2. Use yum distro-sync to bring your system into sync with the state of the repositories. This may both upgrade and downgrade packages, so inspect carefully what it intends to do before committing.

Once done, you should then be able to install further packages (such as subversion).


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.