Built Kernel-3.10.0-229.7.2.el7 OK But Install Fails
Hi all –
First the boilerplate:
On CentOS-release.x86_64 7-0.1406.el7.CentOS.2.3
[root@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@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@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
5 thoughts on - Built Kernel-3.10.0-229.7.2.el7 OK But Install Fails
Instead of ‘rpm -ivh’, try ‘yum localinstall’. Some packages cannot be
“installed” but can only be “updated”.
Akemi
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
++++++++++++++++++++++++++++++++++++++++
Thanks! Up on kernel 3.10.0-229.7.2.el7.CentOS. Page http://wiki.CentOS.org/HowTos/Custom_Kernel specifically states using rpm and not yum for the new kernel install, so perhaps needs that slight revision for 7……Nick G
Thanks for pointing this out. The wiki article now has additional notes and includes the yum command.
Akemi
*>*> Page http://wiki.CentOS.org/HowTos/Custom_Kernel
<http://wiki.CentOS.org/HowTos/Custom_Kernel> specifically states using
*>*> rpm and not yum for the new kernel install, so perhaps needs that slight
*>*> revision for 7……Nick G
*>
Thank you much.
So far, the newer 3.10.0-229 feels a bit faster on my hardware than
the previous 3.10.0-123 despite being about 80K larger (removed the GFS2 modules: only have 2GB RAM).
—————————-