[英]Dependency conflict during install of openssl-devel
My Fedora's kernel version - 4.1.13-100.fc21. 我的Fedora的内核版本-4.1.13-100.fc21。
I am trying to install developer libraries for OpenSSL by enternig command: 我正在尝试通过enternig命令安装OpenSSL开发人员库:
sudo yum install openssl-devel
It gives output: 它给出输出:
Error: Packet: pcre-devel-8.35-14.fc21.x86_64 (updates)
Requires: pcre(x86-64) = 8.35-14.fc21
Installed: pcre-8.35-17.fc21.x86_64 (@updates-testing)
pcre(x86-64) = 8.35-17.fc21
Available: pcre-8.35-7.fc21.x86_64 (fedora)
pcre(x86-64) = 8.35-7.fc21
Available: pcre-8.35-14.fc21.x86_64 (updates)
pcre(x86-64) = 8.35-14.fc21
Another option bellow is to use --skip-broken to overcome this problem. 波纹管的另一种选择是使用--skip-broken来克服此问题。 Entering:
输入:
sudo yum install openssl-devel --skip-broken
Provides output that packets were missed due to problems with dependencies: 提供输出,指出由于依赖性问题而丢失了数据包:
krb5-devel-1.12.2-9.fc21.x86_64 from fedora
krb5-devel-1.12.2-19.fc21.x86_64 from updates
libselinux-devel-2.3-5.fc21.x86_64 from fedora
libselinux-devel-2.3-10.fc21.x86_64 from updates
1:openssl-devel-1.0.1k-12.fc21.x86_64 from updates
pcre-devel-8.35-7.fc21.x86_64 from fedora
pcre-devel-8.35-14.fc21.x86_64 from updates
What can I do? 我能做什么? The very beginning of this problem is error in Qt about missing header files from openssl folder.
此问题的最开始是Qt中的错误,该错误是有关openssl文件夹中缺少头文件的错误。
I found solution on myself. 我找到了解决方案。 First I needed to downgrade prce using dnf:
首先,我需要使用dnf降级prce:
sudo dnf downgrade pcre-devel-8.35-7.fc21
Then I have both versions of pcre on my computer. 然后,我的计算机上同时具有两个版本的pcre。 Running these two comments helped:
运行以下两个注释有助于:
rpm --rebuilddb
dnf distro-sync
And in the last step I was able to install openssl-devel and all dependencies without problem by entering: 在最后一步中,我可以通过输入以下内容来安装openssl-devel和所有依赖项而不会出现问题:
sudo dnf install openssl-devel
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.