multi-arch i386 and x86_64

General support questions including new installations
Post Reply
slick101
Posts: 35
Joined: 2010/02/19 02:38:34

multi-arch i386 and x86_64

Post by 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?

chuina
Posts: 355
Joined: 2009/12/11 10:25:56

Re: multi-arch i386 and x86_64

Post by chuina » 2010/03/27 03:30:41

Whats are the outputs of
[code]yum repolist all[/code]
and
[code]sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n[/code] ?

slick101
Posts: 35
Joined: 2010/02/19 02:38:34

Re: multi-arch i386 and x86_64

Post by slick101 » 2010/03/27 05:16:52

[code]
>> 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]

[code]
>> 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]
[/code]

[Moderator edited to insert [i]code[/i] tags to preserve the formatting.]

chuina
Posts: 355
Joined: 2009/12/11 10:25:56

Re: multi-arch i386 and x86_64

Post by chuina » 2010/03/27 05:46:58

You need [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]Yum Priorities[/url] for using [b]non[/b] default repositories.

A quick hint for priority serials from [b] toracat[/b]'s blog are:
[code]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][/code]

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

Also try to use [b][ code ] your topics [ /code ][/b] (**without any space inside [b][][/b] ) while posting lines of data.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

multi-arch i386 and x86_64

Post by pschaff » 2010/03/27 13:23:21

[quote]
slick101 wrote:
...
Do i need to remove certain packages manually?[/quote]

To see what repos you have installed packages from:
[code]
rpm -qa --qf "%{VENDOR} \n" | sort | uniq
[/code]
The result should be a list of VENDOR tags. To see the packages from a particular Vendor, for example EPEL:[code]
rpm -qa --qf "%{NAME} %{VENDOR} \n" | grep "Fedora Project" | cut -d ' ' -f 1 | sort
[/code]
The result should be a list of EPEL packages.
To show RPMforge packages:[code]
rpm -qa --qf "%{NAME} %{VENDOR} \n" | grep "Dag Apt" | cut -d ' ' -f 1 | sort
[/code]
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.

Post Reply