Re: Yum issue on CentOS 5, x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

Attachment: pgpgBqWjzRmlu.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux