Downgrade do kernel no CentOS de 3.10.0-862.3.3 para 3.10.0-693.5.2, como resolver dependências ausentes?

0

Eu tenho o CentOS 7 instalado com o Kernel 3.10.0-862.3.3.el7.x86_64, mas devido a possíveis problemas de compatibilidade eu preciso do 3.10.0-693.5.2.el7.x86_64. Como posso fazer o downgrade?

Eu tentei procurar o pacote yum com yum list --showduplicates kernel-* , mas isso só me dá a atual 3.10.0-862.2.3.el7 como opção.

Eu tentei baixar o próprio rpm e instalá-lo, mas ele diz que não há nada a fazer:

[root@ci4 tmp]# wget ftp://mirror.switch.ch/pool/4/mirror/scientificlinux/7.1/x86_64/updates/security/kernel-3.10.0-693.5.2.el7.x86_64.rpm
[root@ci4 tmp]# yum downgrade ./kernel-3.10.0-693.5.2.el7.x86_64.rpm 
Loaded plugins: fastestmirror, langpacks
Examining ./kernel-3.10.0-693.5.2.el7.x86_64.rpm: kernel-3.10.0-693.5.2.el7.x86_64
Package kernel-3.10.0-693.5.2.el7.x86_64 is allowed multiple installs, skipping
Error: Nothing to do

Eu tentei com rpm

[root@ci4 tmp]# rpm -Uvh --oldpackage kernel-3.10.0-693.5.2.el7.x86_64.rpm 
warning: kernel-3.10.0-693.5.2.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY
error: Failed dependencies:
    kernel(__x86_indirect_thunk_r10) = 0x7e526bfa is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r12) = 0x263ed23b is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r13) = 0xe7b00dfb is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r14) = 0xce8b1878 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r15) = 0x0f05c7b8 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r8) = 0x1ed8b599 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r9) = 0xdf566a59 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rax) = 0x2ea2c95c is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rbx) = 0x593c1bac is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rcx) = 0xc29957c3 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rdx) = 0xb601be4c is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rsi) = 0xa1f9a134 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(dm_get_device) = 0xf3d46cd5 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(dm_put_device) = 0xa767fd96 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(dm_register_target) = 0xcf368f2b is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(dm_unregister_target) = 0x62b8c739 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(sme_me_mask) = 0x17fbce60 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r10) = 0x7e526bfa is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r12) = 0x263ed23b is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r13) = 0xe7b00dfb is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r14) = 0xce8b1878 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r15) = 0x0f05c7b8 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r8) = 0x1ed8b599 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r9) = 0xdf566a59 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rax) = 0x2ea2c95c is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rbx) = 0x593c1bac is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rcx) = 0xc29957c3 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rdx) = 0xb601be4c is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rsi) = 0xa1f9a134 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(dm_get_device) = 0xf3d46cd5 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(dm_put_device) = 0xa767fd96 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(dm_register_target) = 0xcf368f2b is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(dm_unregister_target) = 0x62b8c739 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(sme_me_mask) = 0x17fbce60 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r10) = 0x7e526bfa is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r12) = 0x263ed23b is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r13) = 0xe7b00dfb is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r14) = 0xce8b1878 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r15) = 0x0f05c7b8 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r8) = 0x1ed8b599 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_r9) = 0xdf566a59 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rax) = 0x2ea2c95c is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rbx) = 0x593c1bac is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rcx) = 0xc29957c3 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rdx) = 0xb601be4c is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(__x86_indirect_thunk_rsi) = 0xa1f9a134 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(dm_get_device) = 0xf3d46cd5 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(dm_put_device) = 0xa767fd96 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(dm_register_target) = 0xcf368f2b is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(dm_unregister_target) = 0x62b8c739 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64
    kernel(sme_me_mask) = 0x17fbce60 is needed by (installed) kmod-kvdo-6.1.0.168-16.el7_5.x86_64

Eu tentei resolver as dependências ausentes desativando o repositório atual do CentOS 7 e ativando o repositório do Vault. Eu adicionei enabled=0 a cada entrada em /etc/yum.repos.d/CentOS-Base.repo e defino enabled=1 para cada entrada em vi /etc/yum.repos.d/CentOS-Vault.repo contendo CentOS-7.4.1708 . Ainda estou obtendo o mesmo resultado ao usar o rpm ou o yum para fazer o downgrade do kernel.

    
por mles 12.07.2018 / 11:28

1 resposta

1

Os dois kernels que você referencia, 3.10.0-862.3.3.el7.x86_64 e 3.10.0-693.5.2.el7.x86_64 , representam CentOS 7.5 e CentOS 7.4, respectivamente. O CentOS move os pacotes antigos do kernel para o Cofre do CentOS quando eles não estão atualizados.

Para fazer com que o YUM use o cofre, você precisa desabilitar seus repositórios atuais do CentOS base e updates e, em seguida, substituí-los por seus correspondentes versão 7.4 do cofre do CentOS (por exemplo, baseurl=http://vault.centos.org/7.4.1708/updates/$basearch/ ). Depois que isso estiver configurado corretamente, você poderá usar yum downgrade kernel . Você também pode ser obrigado a fazer downgrade de quaisquer pacotes que dependam da versão mais recente do kernel.

    
por 12.07.2018 / 22:22

Tags