[CentOS] built kernel-3.10.0-229.7.2.el7 OK but install fails

Thu Jul 9 22:45:38 UTC 2015
Akemi Yagi <amyagi at gmail.com>

On Thu, Jul 9, 2015 at 3:05 PM, Nicholas Geovanis
<nickgeovanis at gmail.com> wrote:
> Hi all -
> First the boilerplate:
> On centos-release.x86_64                  7-0.1406.el7.centos.2.3
> [root at localhost x86_64]# uname -a
> Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30
> 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> [root at localhost x86_64]# rpm -qa kernel\* | sort
> kernel-3.10.0-123.el7.x86_64
> kernel-devel-3.10.0-123.el7.x86_64
> kernel-headers-3.10.0-123.el7.x86_64
> kernel-tools-3.10.0-123.el7.x86_64
> kernel-tools-libs-3.10.0-123.el7.x86_64
>
> I built kernel-3.10.0-229.7.2.el7, successfully to appearances. But on
> installing the new rpms I receive a couple dozen messages like these:
> [root at localhost x86_64]# rpm -ivh kernel-*.rpm
> Preparing...                          #################################
> [100%]
>     file /usr/lib64/libcpupower.so.0.0.0 from install of
> kernel-tools-libs-3.10.0-229.7.2.el7.centos.local.x86_64 conflicts with
> file from package kernel-tools-libs-3.10.0-123.el7.x86_64
>     file /usr/bin/cpupower from install of
> kernel-tools-3.10.0-229.7.2.el7.centos.local.x86_64 conflicts with file
> from package kernel-tools-3.10.0-123.el7.x86_64
>
> Have I missed a step? Maybe something specific to 7 or different from 6?
> Thanks.....Nick

Instead of 'rpm -ivh', try 'yum localinstall'. Some packages cannot be
"installed" but can only be "updated".

Akemi