0

我有 Fedora 33,我想使用以下命令安装更新:

sudo dnf update

在确认安装之前,我看到 dnf 找到了应该安装的依赖包:openssl-devel

运行事务测试时出现错误:

Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
  file /usr/include/openssl/aes.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/asn1.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/asn1t.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/bio.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/blowfish.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/bn.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/buffer.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/camellia.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/cast.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/cmac.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/cms.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/comp.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/conf.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/conf_api.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/crypto.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/des.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/dh.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/dsa.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/dtls1.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/ec.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/ecdh.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/ecdsa.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/engine.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/err.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/evp.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/hmac.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/idea.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/lhash.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/md4.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/md5.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/modes.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/obj_mac.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/objects.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/ocsp.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/opensslconf.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/opensslv.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/ossl_typ.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/pem.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/pem2.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/pkcs12.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/pkcs7.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/rand.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/rc2.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/rc4.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/ripemd.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/rsa.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/safestack.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/sha.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/srtp.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/ssl.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/ssl2.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/ssl3.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/stack.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/tls1.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/ts.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/txt_db.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/ui.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/whrlpool.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/x509.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/x509_vfy.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/include/openssl/x509v3.h from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/lib64/libcrypto.so from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/lib64/libssl.so from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/lib64/pkgconfig/libcrypto.pc from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/lib64/pkgconfig/libssl.pc from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64
  file /usr/lib64/pkgconfig/openssl.pc from install of openssl-devel-1:1.1.1k-1.fc33.x86_64 conflicts with file from package libressl-devel-3.2.5-1.x86_64

请帮忙解决这个问题!

4

1 回答 1

1

我通过从系统中删除它自己解决了这个问题。

删除命令: sudo dnf remove libressl-devel

和软件包libressllibressl-devel可用于 Fedora,但来自第三方“RPM Sphere x86_64”存储库。我试图删除包libressl-devel,发现系统上只有一个应用程序依赖于它,即terminology(基于 EFL 的终端仿真器)。我之前安装了这个应用程序,我不再需要它。所以我只是删除了依赖它的包libressl-devel和应用程序。terminology

删除软件包后libssl-devel,我成功更新了我的 Fedora 33 软件包。

于 2021-05-29T20:08:48.053 回答