• Home »
  • Errors »
  • file /usr/share/emacs/site-lisp/psvn.el from install of subversion-1.5.5-0.1.el5.rf conflicts with file

file /usr/share/emacs/site-lisp/psvn.el from install of subversion-1.5.5-0.1.el5.rf conflicts with file

When upgrading Subversion on CentOS you may run into a conflict issue under certain circumstances. I noticed this issue when installing git via yum which required an upgrade of subversion. The installation of git failed because of a “Transaction Check Error” that was caused by the upgrade of subversion. The special circumstances included a 64-Bit install of CentOS and the rpmforge yum repo being installed.

To resolve this issue simply remove the 32-Bit version of subversion and then proceed. The process of getting this error and actually completing a successful upgrade of subversion is detailed below.

The error was as follows.

bash

  1. [root@server ~]# yum upgrade subversion
  2. Loading "installonlyn" plugin
  3. Setting up Upgrade Process
  4. Setting up repositories
  5. Reading repository metadata in from local files
  6. Could not find update match for subversion.i386
  7. Resolving Dependencies
  8. --> Populating transaction set with selected packages. Please wait.
  9. ---> Package subversion.x86_64 0:1.5.5-0.1.el5.rf set to be updated
  10. --> Running transaction check
  11.  
  12. Dependencies Resolved
  13.  
  14. =============================================================================
  15. Package Arch Version Repository Size
  16. =============================================================================
  17. Updating:
  18. subversion x86_64 1.5.5-0.1.el5.rf rpmforge 5.7 M
  19.  
  20. Transaction Summary
  21. =============================================================================
  22. Install 0 Package(s)
  23. Update 1 Package(s)
  24. Remove 0 Package(s)
  25.  
  26. Total download size: 5.7 M
  27. Is this ok [y/N]: y
  28. Downloading Packages:
  29. Running Transaction Test
  30. Finished Transaction Test
  31.  
  32. Transaction Check Error:
  33. file /usr/share/emacs/site-lisp/psvn.el from install of subversion-1.5.5-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5
  34. file /usr/share/man/man1/svn.1.gz from install of subversion-1.5.5-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5
  35. file /usr/share/man/man1/svnadmin.1.gz from install of subversion-1.5.5-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5
  36. file /usr/share/man/man1/svnlook.1.gz from install of subversion-1.5.5-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5
  37. file /usr/share/man/man5/svnserve.conf.5.gz from install of subversion-1.5.5-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5
  38. file /usr/share/man/man8/svnserve.8.gz from install of subversion-1.5.5-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5
  39. file /usr/share/xemacs/site-packages/lisp/psvn.el from install of subversion-1.5.5-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5

To resolve this issue just remove the i386 version of subversion using the below command.

bash

  1. yum remove subversion.i386

You can now proceed with upgrading the 64 bit version of subversion on your CentOS server as shown below.

bash

  1. [root@server ~]# yum update subversion
  2. Loading "installonlyn" plugin
  3. Setting up Update Process
  4. Setting up repositories
  5. Reading repository metadata in from local files
  6. Resolving Dependencies
  7. --> Populating transaction set with selected packages. Please wait.
  8. ---> Package subversion.x86_64 0:1.5.5-0.1.el5.rf set to be updated
  9. --> Running transaction check
  10.  
  11. Dependencies Resolved
  12.  
  13. =============================================================================
  14. Package Arch Version Repository Size
  15. =============================================================================
  16. Updating:
  17. subversion x86_64 1.5.5-0.1.el5.rf rpmforge 5.7 M
  18.  
  19. Transaction Summary
  20. =============================================================================
  21. Install 0 Package(s)
  22. Update 1 Package(s)
  23. Remove 0 Package(s)
  24.  
  25. Total download size: 5.7 M
  26. Is this ok [y/N]: y
  27. Downloading Packages:
  28. Running Transaction Test
  29. Finished Transaction Test
  30. Transaction Test Succeeded
  31. Running Transaction
  32. Updating : subversion ######################### [1/2]
  33. Cleanup : subversion ######################### [2/2]
  34.  
  35. Updated: subversion.x86_64 0:1.5.5-0.1.el5.rf
  36. Complete!

The issue is that yum gets confused on various files that it thinks it will need to upgrade to successfully get through the 64 bit subversion upgrade. By removing the 32 bit version you remove the confusion.

Share