カーネル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
引用した2つのカーネル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がリポジトリを使用できるようにするには、現在のCentOSbase
とリポジトリを無効にしてから、リポジトリでupdates
それを7.4バージョン(CentOSなど)に置き換える必要があります。baseurl=http://vault.centos.org/7.4.1708/updates/$basearch/
正しく設定されたら、yum downgrade kernel
新しいカーネルバージョンに依存するパッケージをダウングレードする必要があるかもしれません。