Description of problem: Version-Release number of selected component (if applicable): How reproducible: 1. install CentOs 6.5 base 64 bit 2. yum update exim Actual results: yum update exim Loaded plugins: etckeeper, fastestmirror, merge-conf Setting up Update Process Loading mirror speeds from cached hostfile * base: mirror.tversu.ru * epel: mirror.nl.leaseweb.net * extras: mirror.tversu.ru * updates: mirror.tversu.ru Resolving Dependencies --> Running transaction check ---> Package exim.i686 0:4.72-6.el6 will be updated ---> Package exim.x86_64 0:4.72-7.el6 will be an update --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================================================================= Updating: exim x86_64 4.72-7.el6 epel 1.2 M Transaction Summary ============================================================================================================================================================================================================================================= Upgrade 1 Package(s) Total size: 1.2 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Check Error: file /usr/share/man/man8/eximstats.8.gz from install of exim-4.72-7.el6.x86_64 conflicts with file from package exim-4.72-6.el6.i686 Expected results: Additional info:
(In reply to Artemy Zaitsev from comment #0) > It looks like you installed exim from 32 bit repo and later switched to 64 bit: > ---> Package exim.i686 0:4.72-6.el6 will be updated Why is there installed exim.i686? Exim is not multilib, so it is not available in the 64 bit repo.
ALL STEPS 1. Install new os: os-base-centos-6-x86_64 from hosting 2. Check Linux version Linux test.askaron.com 2.6.32-042stab094.7 #1 SMP Wed Oct 22 12:43:21 MSK 2014 x86_64 x86_64 x86_64 GNU/Linux 3. Yum info yum info exim Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.tversu.ru * extras: mirror.tversu.ru * updates: mirror.tversu.ru Installed Packages Name : exim Arch : i686 Version : 4.72 Release : 6.el6 Size : 3.7 M Repo : installed From repo : epel Summary : The exim mail transfer agent URL : http://www.exim.org/ License : GPLv2+ Description : Exim is a message transfer agent (MTA) developed at the University of : Cambridge for use on Unix systems connected to the Internet. It is : freely available under the terms of the GNU General Public Licence. In : style it is similar to Smail 3, but its facilities are more : general. There is a great deal of flexibility in the way mail can be : routed, and there are extensive facilities for checking incoming : mail. Exim can be installed in place of sendmail, although the : configuration of exim is quite different to that of sendmail. 4. Repo list repo list -bash: repo: command not found [root@test yum.repos.d]# yum repolist Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.tversu.ru * extras: mirror.tversu.ru * updates: mirror.tversu.ru repo id repo name status base CentOS-6 - Base 6518 extras CentOS-6 - Extras 35 updates CentOS-6 - Updates 388 vz-base vz-base 3 vz-updates vz-updates 8 5. Install epel rpm --import http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6 rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 6. Update exim yum update exim Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile epel/metalink | 27 kB 00:00 * base: mirror.tversu.ru * epel: ftp.nluug.nl * extras: mirror.tversu.ru * updates: mirror.tversu.ru epel | 4.4 kB 00:00 epel/primary_db | 6.4 MB 00:00 Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package exim.i686 0:4.72-6.el6 will be updated ---> Package exim.x86_64 0:4.72-7.el6 will be an update --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================================================================= Updating: exim x86_64 4.72-7.el6 epel 1.2 M Transaction Summary ============================================================================================================================================================================================================================================= Upgrade 1 Package(s) Total download size: 1.2 M Is this ok [y/N]: y Downloading Packages: exim-4.72-7.el6.x86_64.rpm | 1.2 MB 00:00 Running rpm_check_debug Running Transaction Test Transaction Check Error: file /usr/share/man/man8/eximstats.8.gz from install of exim-4.72-7.el6.x86_64 conflicts with file from package exim-4.72-6.el6.i686 Error Summary -------------
I would guess that Virtuozzo container ships a non-standard/changed package set which introduces the issue. My personal suggestion would be to remove the currently installed exim and perform a fresh install (e.g.: rpm -e --nodeps exim; yum install exim).
(In reply to Artemy Zaitsev from comment #2) Thanks for info. > 1. Install new os: os-base-centos-6-x86_64 from hosting > Sorry, I am unable to reproduce this. > 3. Yum info > > yum info exim > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > * base: mirror.tversu.ru > * extras: mirror.tversu.ru > * updates: mirror.tversu.ru > Installed Packages > Name : exim > Arch : i686 > The x86_64 OS cannot install exim Arch:i686. You cannot mix 32 bit and 64 bit packages which are not multilib. And consequently the upgrade from 32 bit non-multilib to 64 bit package is not supported. > Version : 4.72 > Release : 6.el6 > I don't know what they are shipping, check official epel-6 mirror, e.g.: http://mirrors.kernel.org/fedora-epel/6Server/x86_64/ there is: exim-4.72-7.el6.x86_64.rpm Notice the x86_64 suffix. As said in comment 3, you can workaround their bug by uninstalling exim and installing it again. Exim is not shipped in RHEL-6, thus this is definitely not RHEL/EPEL bug.
Thank you. It works: rpm -e --nodeps exim yum install exim It is better than: yum remove exim yum install exim yum remove exim - asks about removing for dependencies.