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

Valeri Galtsev galtsev at kicp.uchicago.edu
Thu Jul 9 22:52:33 UTC 2015


On Thu, July 9, 2015 5:45 pm, Akemi Yagi wrote:
> 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".

One can do "update" with rpm command: 'rpm -Uvh' (or upgrade rather), but
on systems managed with yum it is much better to use yum, exactly as you
suggest.

Valeri

++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++



More information about the CentOS mailing list