CentOS 7.9를 8.5로 업그레이드하는 것이 완료되지 않았습니다. 수정을 위한 제안 사항이 있습니까?

CentOS 7.9를 8.5로 업그레이드하는 것이 완료되지 않았습니다. 수정을 위한 제안 사항이 있습니까?

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년도 채 남지 않았습니다!

로키리눅스CentOS는 이런 식이었습니다.개울, v8 EOL 날짜는 2029년 5월 31일입니다.

다운로드 페이지에는 8.x 버전 번호가 표시되어 있지 않지만 Rocky-8.8-x86_64-dvd1.iso현재 다운로드 용량은 11.7GB이며 버전 9를 원하지 않는 경우 선택할 수 있습니다.

https://rockylinux.org/download

데이터를 마이그레이션하고, OS 디스크를 다시 포맷하고, 새로 설치하고 Rocky-8.8-x86_64-dvd1.iso, 데이터를 다시 이동하고, 필요한 것을 설치하세요.

관련 정보