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 StymaDo you have the rpmforge repo enabled? That could be causing some of your difficulties. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
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' -- Garrick Staples, GNU/Linux HPCC SysAdmin University of Southern California -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070416/b73a9b8c/attachment-0004.sig>