首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何解决包冲突Fedora 33 openssl-devel libressl-devel

如何解决包冲突Fedora 33 openssl-devel libressl-devel
EN

Stack Overflow用户
提问于 2021-05-29 15:22:28
回答 1查看 99关注 0票数 0

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

代码语言:javascript
复制
sudo dnf update

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

在运行事务测试时,我得到一个错误:

代码语言:javascript
复制
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

请帮助解决此问题!

EN

回答 1

Stack Overflow用户

发布于 2021-05-30 04:08:48

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

删除命令:sudo dnf remove libressl-devel

libressllibressl-devel包也可以在Fedora上使用,但是可以从第三方的"RPM Sphere x86_64“存储库获得。我尝试删除libressl-devel包,发现系统上只有一个依赖它的应用程序,那就是terminology (基于EFL的终端仿真器)。我之前安装了这个应用程序,现在不再需要它了。因此,我删除了依赖它的libressl-develterminology应用程序包。

在删除包libssl-devel之后,我成功地更新了我的Fedora33包。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67748802

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档