Centos7升级到Centos8的问题

Centos7升级到Centos8的问题

我在将 CentOS 7 升级到 CentOS 8 时遇到问题。

当我跑步时

sudo dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync

我收到以下错误:

    Error: Transaction check error:
  file /usr/lib64/.libcrypto.so.1.1.1c.hmac from install of openssl-libs-1:1.1.1c-15.el8.x86_64 conflicts with file from package openssl11-libs-1:1.1.1c-2.el7.x86_64
  file /usr/lib64/.libssl.so.1.1.1c.hmac from install of openssl-libs-1:1.1.1c-15.el8.x86_64 conflicts with file from package openssl11-libs-1:1.1.1c-2.el7.x86_64
  file /usr/lib64/engines-1.1/afalg.so from install of openssl-libs-1:1.1.1c-15.el8.x86_64 conflicts with file from package openssl11-libs-1:1.1.1c-2.el7.x86_64
  file /usr/lib64/engines-1.1/capi.so from install of openssl-libs-1:1.1.1c-15.el8.x86_64 conflicts with file from package openssl11-libs-1:1.1.1c-2.el7.x86_64
  file /usr/lib64/engines-1.1/padlock.so from install of openssl-libs-1:1.1.1c-15.el8.x86_64 conflicts with file from package openssl11-libs-1:1.1.1c-2.el7.x86_64
  file /usr/lib64/libcrypto.so.1.1.1c from install of openssl-libs-1:1.1.1c-15.el8.x86_64 conflicts with file from package openssl11-libs-1:1.1.1c-2.el7.x86_64
  file /usr/lib64/libssl.so.1.1.1c from install of openssl-libs-1:1.1.1c-15.el8.x86_64 conflicts with file from package openssl11-libs-1:1.1.1c-2.el7.x86_64
  file /usr/lib/python3.6/site-packages/rpmconf/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-rpmconf-1.0.21-1.el8.noarch conflicts with file from package python36-rpmconf-1.0.22-1.el7.noarch
  file /usr/lib/python3.6/site-packages/rpmconf/__pycache__/__init__.cpython-36.pyc from install of python3-rpmconf-1.0.21-1.el8.noarch conflicts with file from package python36-rpmconf-1.0.22-1.el7.noarch
  file /usr/lib/python3.6/site-packages/rpmconf/__pycache__/rpmconf.cpython-36.opt-1.pyc from install of python3-rpmconf-1.0.21-1.el8.noarch conflicts with file from package python36-rpmconf-1.0.22-1.el7.noarch
  file /usr/lib/python3.6/site-packages/rpmconf/__pycache__/rpmconf.cpython-36.pyc from install of python3-rpmconf-1.0.21-1.el8.noarch conflicts with file from package python36-rpmconf-1.0.22-1.el7.noarch
  file /usr/share/man/man3/rpmconf.3.gz from install of python3-rpmconf-1.0.21-1.el8.noarch conflicts with file from package python36-rpmconf-1.0.22-1.el7.noarch
  file /usr/lib64/libwebp.so.7 from install of libwebp-1.0.0-1.el8.x86_64 conflicts with file from package libwebp7-1.0.3-1.el7.remi.x86_64
  file /usr/lib64/libwebpdecoder.so.3 from install of libwebp-1.0.0-1.el8.x86_64 conflicts with file from package libwebp7-1.0.3-1.el7.remi.x86_64
  file /usr/lib64/libwebpdemux.so.2 from install of libwebp-1.0.0-1.el8.x86_64 conflicts with file from package libwebp7-1.0.3-1.el7.remi.x86_64
  file /usr/lib64/libwebpmux.so.3 from install of libwebp-1.0.0-1.el8.x86_64 conflicts with file from package libwebp7-1.0.3-1.el7.remi.x86_64

该怎么办?

答案1

不支持从 Centos 7 升级到 Centos 8。

您可以不断删除软件包直到它起作用,但最终您将得到一个损坏的系统。

相关内容