【问题标题】:How to resolve package conflicts Fedora 33 openssl-devel libressl-devel如何解决包冲突 Fedora 33 openssl-devel libressl-devel
【发布时间】:2021-05-30 04:08:48
【问题描述】:

我有 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

请帮助解决这个问题!

【问题讨论】:

    标签: fedora dnf


    【解决方案1】:

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

    删除命令: sudo dnf remove libressl-devel

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

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

    【讨论】:

      猜你喜欢
      • 2023-03-21
      • 2023-04-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-06-21
      • 1970-01-01
      • 1970-01-01
      • 2020-12-02
      相关资源
      最近更新 更多