multi-arch i386 and x86_64

General support questions including new installations

multi-arch i386 and x86_64

Postby slick101 » 2010/03/27 01:29:13

hey everyone,


I am updating my system I have centos version 5.4 and when i do a yum update i get the following:

file /usr/share/man/man1/xdelta.1.gz from install of xdelta-1.1.4-1.el5.rf.x86_64 conflicts with file from package xdelta-1.1.3-20.i386
file /usr/share/emacs/site-lisp/psvn.el from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/locale/de/LC_MESSAGES/subversion.mo from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/locale/es/LC_MESSAGES/subversion.mo from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/locale/fr/LC_MESSAGES/subversion.mo from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/locale/it/LC_MESSAGES/subversion.mo from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/locale/ja/LC_MESSAGES/subversion.mo from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/locale/ko/LC_MESSAGES/subversion.mo from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/locale/nb/LC_MESSAGES/subversion.mo from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/locale/pl/LC_MESSAGES/subversion.mo from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/locale/pt_BR/LC_MESSAGES/subversion.mo from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/locale/sv/LC_MESSAGES/subversion.mo from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/locale/zh_CN/LC_MESSAGES/subversion.mo from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/locale/zh_TW/LC_MESSAGES/subversion.mo from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/man/man1/svn.1.gz from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/man/man1/svnadmin.1.gz from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/man/man1/svnlook.1.gz from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/man/man5/svnserve.conf.5.gz from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/man/man8/svnserve.8.gz from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386
file /usr/share/xemacs/site-packages/lisp/psvn.el from install of subversion-1.6.9-0.1.el5.rf.x86_64 conflicts with file from package subversion-1.4.2-4.el5_3.1.i386


How does something like this happen, how can i resolve it? Do i need to remove certain packages manually?
slick101
 
Posts: 35
Joined: 2010/02/19 02:38:34

Re: multi-arch i386 and x86_64

Postby chuina » 2010/03/27 03:30:41

Whats are the outputs of
Code: Select all
yum repolist all

and
Code: Select all
sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n
?
chuina
 
Posts: 355
Joined: 2009/12/11 10:25:56

Re: multi-arch i386 and x86_64

Postby slick101 » 2010/03/27 05:16:52

Code: Select all
>> yum repolist all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * atomic: www5.atomicorp.com
 * rpmforge: fr2.rpmfind.net
repo id                                                             repo name                                                                                                            status
atomic                                                              CentOS / Red Hat Enterprise Linux 5 - atomicrocketturtle.com                                                         enabled:    750
atomic-testing                                                      CentOS / Red Hat Enterprise Linux 5 - atomicrocketturtle.com - (Testing)                                             disabled
dag                                                                 Dag RPM Repository for Red Hat Enterprise Linux                                                                      enabled: 10,040
kbs-CentOS-Extras                                                   CentOS.Karan.Org-EL5 - Stable                                                                                        enabled:      0
kbs-CentOS-Testing                                                  CentOS.Karan.Org-EL5 - Testing                                                                                       disabled
rpmforge                                                            Red Hat Enterprise 5 - RPMforge.net - dag                                                                            enabled: 10,040
system-base                                                         CentOS-5 - x86_64 - Base                                                                                             enabled:  3,348
system-updates-released                                             CentOS-5 - x86_64 - Released Updates                                                                                 enabled:    838
repolist: 25,016


Code: Select all
 >> sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n
priority = 1 [atomic]
#priority = 1 [atomic-testing]
priority = 1 [atomic-testing]


[Moderator edited to insert code tags to preserve the formatting.]
slick101
 
Posts: 35
Joined: 2010/02/19 02:38:34

Re: multi-arch i386 and x86_64

Postby chuina » 2010/03/27 05:46:58

You need Yum Priorities for using non default repositories.

A quick hint for priority serials from toracat's blog are:
Code: Select all
priority = 10 [base]
priority = 10 [updates]
priority = 30 [extras]
priority = 50 [centosplus]
priority = 60 [c5-testing]
priority = 70 [rpmforge]
priority = 75 [kbs-CentOS-Testing]
priority = 90 [kbs-CentOS-Misc-Testing]
priority = 94 [epel]


I have no idea what packages you have installed from those repos enabled.

Also try to use [ code ] your topics [ /code ] (**without any space inside [] ) while posting lines of data.
chuina
 
Posts: 355
Joined: 2009/12/11 10:25:56

multi-arch i386 and x86_64

Postby pschaff » 2010/03/27 13:23:21

slick101 wrote:
...
Do i need to remove certain packages manually?


To see what repos you have installed packages from:
Code: Select all
rpm -qa --qf "%{VENDOR} \n" | sort | uniq

The result should be a list of VENDOR tags. To see the packages from a particular Vendor, for example EPEL:
Code: Select all
rpm -qa --qf "%{NAME} %{VENDOR} \n" | grep "Fedora Project" | cut -d ' ' -f 1 | sort

The result should be a list of EPEL packages.
To show RPMforge packages:
Code: Select all
rpm -qa --qf "%{NAME} %{VENDOR} \n" | grep "Dag Apt" | cut -d ' ' -f 1 | sort

etc.

You can repeat for each tag (or unique sub-string) other than "CentOS". If the list includes core packages, you may want to consider replacing them with the official CentOS versions using "yum downgrade package1 package2 ...", the very ugly "rpm --oldpackage --force ...", or doing a clean install.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America


Return to CentOS 5 - General Support

Who is online

Users browsing this forum: No registered users and 3 guests