cabeçalhos de kernel e desenvolvimento de kernel

0

comando

rpm -qa | grep kernel

saída

kernel-3.10.0-514.16.1.el7.x86_64

kernel-tools-libs-3.10.0-514.16.1.el7.x86_64

kernel-headers-3.10.0-862.9.1.el7.x86_64

kernel-devel-3.10.0-862.9.1.el7.x86_64

kernel-tools-3.10.0-514.16.1.el7.x86_64

comando

uname -r

saída

3.10.0-514.16.1.el7.x86_64

tentando instalar devel de correspondência:

sudo yum instale link

Eu recebo:

  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/scripts/rt-tester/rt-tester.pyo from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/scripts/selinux/genheaders/genheaders from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/scripts/selinux/mdp/mdp from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/scripts/sortextable from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/scripts/sortextable.c from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/scripts/sortextable.h from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/scripts/tags.sh from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/scripts/tracing/draw_functrace.pyc from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/scripts/tracing/draw_functrace.pyo from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/scripts/unifdef from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/tools/build/Makefile.feature from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/tools/build/Makefile.include from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/tools/scripts/Makefile.include from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/tools/objtool/objtool from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/tools/perf/Makefile.perf from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/tools/scripts/Makefile.arch from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64
  file /usr/src/kernels/3.10.0-514.16.1.el7.x86_64/vmlinux.id from install of kernel-devel-3.10.0-514.16.1.el7.x86_64 conflicts with file from package kernel-devel-3.10.0-862.9.1.el7.x86_64

Error Summary

Este é o nosso servidor de produção. Como resolvo com segurança isso?

Se eu correr

sudo yum instala cabeçalhos de kernel

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

 * base: centos.excellmedia.net

 * extras: centos.excellmedia.net

 * updates: centos.excellmedia.net

Package kernel-headers-3.10.0-862.9.1.el7.x86_64 already installed and latest version

Nothing to do

sudo yum instala o kernel-devel

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

 * base: centos.excellmedia.net

 * extras: centos.excellmedia.net

 * updates: centos.excellmedia.net

Package kernel-devel-3.10.0-862.9.1.el7.x86_64 already installed and latest version

Nada a fazer

    
por Simran kaur 09.08.2018 / 11:51

1 resposta

0

Para instalar o Kernel devels, execute:

yum install kernel-devel-3.10.0-514.16.1.el7.x86_64 OU yum install kernel-devel-$(uname -r)

Para instalar os cabeçalhos do kernel, execute:

yum install kernel-headers-3.10.0-514.16.1.el7.x86_64 OU yum install kernel-headers-$(uname -r)

    
por 09.08.2018 / 13:29

Tags