Windows CIFファイルサーバーとNFS vmware共有で主にZFSを実行するCentOS 7.9サーバーがあります。 v7はうまく動作します。移行のために飛躍/上昇を試みましたが、NFSで失敗したため、Almaに移動できることを確認するためにv8にアップグレードしようとしました。
私は次のステップに従いました。https://techglimpse.com/how-to-upgrade-centos-7-to-centos-8-linux/このコマンドは失敗します。
dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync
依存関係エラーがたくさんあります。
しかし、
cat /etc/redhat-release
見せてくださいCentOS Linux release 8.5.2111
。- カーネルはまだ
3.10.0-1160.90.1.el7.x86_64
実行するdnf update
と、98個のパッケージをインストールし、746個のパッケージを更新し、255個のパッケージをスキップします。しかし、失敗します。
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing `dnf clean packages`.
Error: Transaction check error:
file /usr/lib64/libgdbm_compat.so.4.0.0 from install of gdbm-libs-1:1.18-1.el8.x86_64 conflicts with file from package gdbm-1.10-8.el7.x86_64
file /usr/bin/ibdev2netdev from install of rdma-core-35.0-1.el8.x86_64 conflicts with file from package ibutils-1.5.7-14.el7.x86_64
file /etc/httpd/conf.d/README from install of httpd-filesystem-2.4.37-43.module_el8.5.0+1022+b541f3b1.noarch conflicts with file from package httpd-2.4.6-99.el7.centos.1.x86_64
file /usr/bin/targetctl from install of target-restore-2.1.74-1.el8.noarch conflicts with file from package python-rtslib-2.1.74-1.el7_9.noarch
file /usr/bin/pflags from install of python3-linux-procfs-0.6.3-1.el8.noarch conflicts with file from package python-linux-procfs-0.4.11-4.el7.noarch
file /usr/bin/chardetect from install of python3-chardet-3.0.4-7.el8.noarch conflicts with file from package python-chardet-2.2.1-3.el7.noarch
file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/__pycache__/six.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
file /usr/lib/python3.6/site-packages/setuptools/_vendor/__pycache__/six.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/__pycache__/six.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
file /usr/lib/python3.6/site-packages/setuptools/_vendor/__pycache__/six.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
file /usr/lib/python3.6/site-packages/setuptools-39.2.0.dist-info/METADATA from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
file /usr/lib/python3.6/site-packages/setuptools-39.2.0.dist-info/RECORD from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
もっとあります。
このコマンドは次rpm -e `rpm -q kernel`
のようになります。
error: Failed dependencies:
kernel >= 3.10.0-384.el7 is needed by (installed) hypervfcopyd-0-0.34.20180415git.el7.x86_64
kernel >= 3.10.0-384.el7 is needed by (installed) hypervvssd-0-0.34.20180415git.el7.x86_64
kernel >= 2.6.32 is needed by (installed) lldpad-1.0.1-7.git036e314.el7_9.x86_64
kernel >= 3.10.0-1133.el7 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel >= 3.10.0-384.el7 is needed by (installed) hypervkvpd-0-0.34.20180415git.el7.x86_64
kernel(PDE_DATA) = 0x44f0d59d is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(___ratelimit) = 0x155f4108 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__bitmap_weight) = 0x4cbbd171 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__cond_resched_lock) = 0xe2cfb038 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__fentry__) = 0xbdfb6dbb is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__init_waitqueue_head) = 0xf432dd3d is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__kmalloc) = 0xd2b09ce5 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__list_add) = 0x0343a1a8 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__list_del_entry) = 0x65e75cb6 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__mutex_init) = 0x9a025cd5 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__stack_chk_fail) = 0xf0fdf6cb is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__vmalloc) = 0xa9bd2676 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__wake_up) = 0xcf21d241 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__x86_indirect_thunk_r10) = 0x7e526bfa is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__x86_indirect_thunk_r12) = 0x263ed23b is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__x86_indirect_thunk_r13) = 0xe7b00dfb is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__x86_indirect_thunk_r14) = 0xce8b1878 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__x86_indirect_thunk_r15) = 0x0f05c7b8 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__x86_indirect_thunk_r8) = 0x1ed8b599 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__x86_indirect_thunk_r9) = 0xdf566a59 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__x86_indirect_thunk_rax) = 0x2ea2c95c is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__x86_indirect_thunk_rbx) = 0x593c1bac is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__x86_indirect_thunk_rcx) = 0xc29957c3 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__x86_indirect_thunk_rdx) = 0xb601be4c is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(__x86_indirect_thunk_rsi) = 0xa1f9a134 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(_cond_resched) = 0xa1c76e0a is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(_raw_qspin_lock) = 0x4b7dcf38 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(_raw_qspin_lock_irq) = 0x3588d8ba is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(_raw_read_lock) = 0x9b0c8220 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(_raw_spin_lock_bh) = 0x1637ff0f is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(_raw_spin_lock_irqsave) = 0x9327f5ce is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(_raw_spin_unlock_bh) = 0xba63339c is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(_raw_spin_unlock_irqrestore) = 0x08f64aa4 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(_raw_write_lock) = 0x13a1a61a is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(autoremove_wake_function) = 0xc8b57c27 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(bdevname) = 0x8f619a88 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(bio_add_page) = 0x4554b079 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(bio_alloc_bioset) = 0xeb862489 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(bio_endio) = 0xdd5fbc2b is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(bio_put) = 0x867c68af is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(bio_reset) = 0x060f6a84 is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
kernel(bioset_create) = 0x1b57183e is needed by (installed) kmod-kvdo-6.1.3.23-5.el7.x86_64
もっとあります。
問題を解決する方法はありますか?
ベストアンサー1
編集提案...
数年前のCentOSはCentOSストリーミングとバージョン8小川寿命終了日は2024年5月31日で、1年も残っていません!
ロッキーLinuxCentOSはこんな感じでした。小川、v8 EOL日付は2029年5月31日です。
ダウンロードページには8.xバージョン番号は表示されていませんが、Rocky-8.8-x86_64-dvd1.iso
現在のダウンロード容量は11.7 GBで、バージョン9を望まない場合は選択できます。
https://rockylinux.org/download
データの移行、OSディスクの再フォーマット、新規インストール、Rocky-8.8-x86_64-dvd1.iso
データの再移動、必要なものをインストールします。