커널 3.10.0-862.3.3.el7.x86_64를 사용하여 CentOS 7을 설치했지만 호환성 문제로 인해 3.10.0-693.5.2.el7.x86_64가 필요합니다. 어떻게 다운그레이드할 수 있나요?
find yum 패키지를 사용해 보았지만 yum list --showduplicates kernel-*
현재 3.10.0-862.2.3.el7만 옵션으로 제공되었습니다.
rpm 자체를 다운로드해서 설치도 해봤지만 할 일이 없다고 하더군요.
[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
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
현재 CentOS 7 저장소를 비활성화하고 Vault 저장소를 활성화하여 누락된 종속성을 해결하려고 했습니다. enabled=0
의 각 항목에 추가 /etc/yum.repos.d/CentOS-Base.repo
하고 enabled=1
의 각 항목에 설정했습니다. rpm 또는 yum을 사용하여 커널을 다운그레이드해도 여전히 동일한 결과를 얻습니다.vi /etc/yum.repos.d/CentOS-Vault.repo
CentOS-7.4.1708
답변1
인용한 두 개의 커널 3.10.0-862.3.3.el7.x86_64
과 커널은 3.10.0-693.5.2.el7.x86_64
각각 CentOS 7.5와 CentOS 7.4를 나타냅니다. CentOS는 이전 커널 패키지를 다음으로 이동합니다.CentOS 볼트최신 상태가 아닐 때.
YUM이 저장소를 사용하도록 하려면 현재 CentOS base
와 저장소를 비활성화한 다음 저장소에서 updates
이를 7.4 버전(예: CentOS)으로 교체해야 합니다. baseurl=http://vault.centos.org/7.4.1708/updates/$basearch/
올바르게 설정되면 yum downgrade kernel
새로운 커널 버전에 의존하는 패키지를 다운그레이드해야 할 수도 있습니다.