Nicholas Geovanis
2015-Jul-09 22:05 UTC
[CentOS] 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 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
Akemi Yagi
2015-Jul-09 22:45 UTC
[CentOS] built kernel-3.10.0-229.7.2.el7 OK but install fails
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.....NickInstead of 'rpm -ivh', try 'yum localinstall'. Some packages cannot be "installed" but can only be "updated". Akemi
Valeri Galtsev
2015-Jul-09 22:52 UTC
[CentOS] built kernel-3.10.0-229.7.2.el7 OK but install fails
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 ++++++++++++++++++++++++++++++++++++++++
Nicholas Geovanis
2015-Jul-10 01:20 UTC
[CentOS] built kernel-3.10.0-229.7.2.el7 OK but install fails
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 On Thu, Jul 9, 2015 at 5: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 >
Akemi Yagi
2015-Jul-10 07:10 UTC
[CentOS] built kernel-3.10.0-229.7.2.el7 OK but install fails
On Thu, Jul 9, 2015 at 6:20 PM, Nicholas Geovanis <nickgeovanis at gmail.com> wrote:> 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 GThanks for pointing this out. The wiki article now has additional notes and includes the yum command. Akemi
Nicholas Geovanis
2015-Jul-10 11:39 UTC
[CentOS] built kernel-3.10.0-229.7.2.el7 OK but install fails
>>* Thanks! Up on kernel 3.10.0-229.7.2.el7.centos.*>*> 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 *>>Thanks for pointing this out. The wiki article now has additional >notes and includes the yum command. >AkemiThank 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). ------------------------------>