I just loaded CentOS 5 on a new x86_64 machine I built for my wife. I am converting her from the dark $ide. :-)
I started getting the following messages from yum:
]: yum update Loading "installonlyn" plugin Setting up Update Process Setting up repositories Reading repository metadata in from local files Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package subversion.x86_64 0:1.4.3-0.1.el5.rf set to be updated --> Running transaction check
Dependencies Resolved
======================================================================== ===== Package Arch Version Repository Size ======================================================================== ===== Updating: subversion x86_64 1.4.3-0.1.el5.rf rpmforge 4.4 M
Transaction Summary ======================================================================== ===== Install 0 Package(s) Update 1 Package(s) Remove 0 Package(s)
Total download size: 4.4 M Is this ok [y/N]: y Downloading Packages: Running Transaction Test Finished Transaction Test
Transaction Check Error: file /usr/share/emacs/site-lisp/psvn.el from install of subversion-1.4.3-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5 file /usr/share/xemacs/site-packages/lisp/psvn.el from install of subversion-1.4.3-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5
Error Summary -------------
[styma14]: rpm -e subversion-1.4.2-2.el5 error: "subversion-1.4.2-2.el5" specifies multiple packages [styma14]: rpm -qa | grep subversion subversion-1.4.2-2.el5 subversion-1.4.2-2.el5
###################################### It appears I have a package installed twice. I tried the normal "rpm is damaged" sequence of:
rm -f /var/lib/rpm/__db* db_verify /var/lib/rpm/Packages rpm --rebuilddb
But that did not help the situation. Are there any suggestions on how to get rid of this one piece and get past this error? I tried a -f on the rpm -e and it failed the same way.
Bob Styma
Styma, Robert E (Robert) spake the following on 4/16/2007 3:16 PM:
I just loaded CentOS 5 on a new x86_64 machine I built for my wife. I am converting her from the dark $ide. :-)
I started getting the following messages from yum:
]: yum update Loading "installonlyn" plugin Setting up Update Process Setting up repositories Reading repository metadata in from local files Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package subversion.x86_64 0:1.4.3-0.1.el5.rf set to be updated --> Running transaction check
Dependencies Resolved
========================================================================
Package Arch Version Repository Size ======================================================================== ===== Updating: subversion x86_64 1.4.3-0.1.el5.rf rpmforge 4.4 M
Transaction Summary
===== Install 0 Package(s) Update 1 Package(s) Remove 0 Package(s)
Total download size: 4.4 M Is this ok [y/N]: y Downloading Packages: Running Transaction Test Finished Transaction Test
Transaction Check Error: file /usr/share/emacs/site-lisp/psvn.el from install of subversion-1.4.3-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5 file /usr/share/xemacs/site-packages/lisp/psvn.el from install of subversion-1.4.3-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5
Error Summary
[styma14]: rpm -e subversion-1.4.2-2.el5 error: "subversion-1.4.2-2.el5" specifies multiple packages [styma14]: rpm -qa | grep subversion subversion-1.4.2-2.el5 subversion-1.4.2-2.el5
###################################### It appears I have a package installed twice. I tried the normal "rpm is damaged" sequence of:
rm -f /var/lib/rpm/__db* db_verify /var/lib/rpm/Packages rpm --rebuilddb
But that did not help the situation. Are there any suggestions on how to get rid of this one piece and get past this error? I tried a -f on the rpm -e and it failed the same way.
Bob Styma
Do you have the rpmforge repo enabled? That could be causing some of your difficulties.
Styma, Robert E (Robert) spake the following on 4/16/2007 3:30 PM:
Do you have the rpmforge repo enabled? That could be causing some of your difficulties.
Indeed I do, as suggested in the wiki. Since this box is for my wife, packages for mp3 and wmv files were important.
Bob Styma
It is usually safer to add the outside repos disabled, and install extras with the --enablerepo command.
On Mon, 2007-04-16 at 15:51 -0700, Scott Silva wrote:
Styma, Robert E (Robert) spake the following on 4/16/2007 3:30 PM:
Do you have the rpmforge repo enabled? That could be causing some of your difficulties.
Indeed I do, as suggested in the wiki. Since this box is for my wife, packages for mp3 and wmv files were important.
Bob Styma
It is usually safer to add the outside repos disabled, and install extras with the --enablerepo command.
We also have "yum-priorities" plugin (named "yum-plugin-priorities" on CentOS-4) that will prevent updates from 3rd Party repos to anything with a higher priority.
http://wiki.centos.org/PackageManagement/Yum/Priorities
Thanks, Johnny Hughes
Just tried
yum remove subversion
and it got rid of both copies. Turns out one was i386 and one was x86_64.
Ran yum update and no updates were needed. There were no complaints from the yum remove about dependencies, so, I hope I am OK.
Bob Styma
On Mon, Apr 16, 2007 at 05:16:36PM -0500, Styma, Robert E (Robert) alleged:
I just loaded CentOS 5 on a new x86_64 machine I built for my wife. I am converting her from the dark $ide. :-)
I started getting the following messages from yum:
]: yum update
Updating: subversion x86_64 1.4.3-0.1.el5.rf rpmforge 4.4 M
[..snip..]
Transaction Check Error: file /usr/share/emacs/site-lisp/psvn.el from install of subversion-1.4.3-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5 file /usr/share/xemacs/site-packages/lisp/psvn.el from install of subversion-1.4.3-0.1.el5.rf conflicts with file from package subversion-1.4.2-2.el5
Error Summary
[styma14]: rpm -e subversion-1.4.2-2.el5 error: "subversion-1.4.2-2.el5" specifies multiple packages [styma14]: rpm -qa | grep subversion subversion-1.4.2-2.el5 subversion-1.4.2-2.el5
###################################### It appears I have a package installed twice. I tried the normal "rpm is damaged" sequence of:
rm -f /var/lib/rpm/__db* db_verify /var/lib/rpm/Packages rpm --rebuilddb
But that did not help the situation. Are there any suggestions on how to get rid of this one piece and get past this error? I tried a -f on the rpm -e and it failed the same way.
'rpm -q --qf '%{NAME} %{ARCH}\n' subversion will show that you have i386 and x86_64 packages installed, which is normal. The rpmforge repo seems to only have the x86_64 version, leaving the newer x86_64 package to conflict with the older i386 package.
Options: 1) Disable rpmforge 2) Exclude subversion from rpmforge .repo 3) 'rpm -e --allmatches subversion; yum install subversion'