yum update conflict

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



On 4/11/06, Bowie Bailey <Bowie_Bailey@xxxxxxx> wrote:
> I updated my i386 systems without any problems, but when I tried to
> update one of my x86_64 systems, I got an error from yum.
>
> Transaction Check Error:   file /usr/include/libdevmapper.h from
> install of device-mapper-1.02.02-3.0.RHEL4 conflicts with file from
> package device-mapper-1.01.04-1.0.RHEL4
>
> So it can't install the newer package because it conflicts with the
> older package???  What's going on here?
>
> Should I force the upgrade in this case, or is there a better
> solution?

That doesn't look right. Create a ~/.rpmmacros file for your user and
root with the following line

%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}

then rerun yum and see if the arch values listed are the same. With
the line above, instead of  device-mapper-1.01.04-1.0.RHEL4 it should
show up as device-mapper-1.01.04-1.0.RHEL4.x86_64

--
Any sufficiently advanced technology is indistinguishable from magic.
-Arthur C. Clarke

[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