python - yum install python27-python-devel.x86_64, policycoreutils-python-2.5-22.el7.x86_64 缺少 libapol.so 的要求
问题描述
我正在尝试在 CentOS 7.5 服务器上安装以下 python 开发包并收到以下错误。有人可以建议什么是错的或指导如何安装以下软件包?
[root@I****B1 ~]# yum install -y python27-python-devel.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* centos-sclo-rh: centos.interhost.net.il
Resolving Dependencies
--> Running transaction check
---> Package python27-python-devel.x86_64 0:2.7.18-2.el7 will be installed
--> Processing Dependency: scl-utils-build for package: python27-python-devel-2.7.18-2.el7.x86_64
--> Finished Dependency Resolution
Error: Package: python27-python-devel-2.7.18-2.el7.x86_64 (centos-sclo-rh)
Requires: scl-utils-build
You could try using --skip-broken to work around the problem
Found 6 pre-existing rpmdb problem(s), 'yum check' output follows:
policycoreutils-python-2.5-22.el7.x86_64 has missing requires of libapol.so.4()(64bit)
policycoreutils-python-2.5-22.el7.x86_64 has missing requires of libapol.so.4(VERS_4.0)(64bit)
policycoreutils-python-2.5-22.el7.x86_64 has missing requires of libqpol.so.1()(64bit)
policycoreutils-python-2.5-22.el7.x86_64 has missing requires of libqpol.so.1(VERS_1.2)(64bit)
policycoreutils-python-2.5-22.el7.x86_64 has missing requires of libqpol.so.1(VERS_1.4)(64bit)
policycoreutils-python-2.5-22.el7.x86_64 has missing requires of setools-libs >= ('0', '3.3.8', '2')
解决方案
推荐阅读
- c# - “类、结构或接口方法必须具有返回类型”即使函数设置为 void
- regex - 证书颁发者替换为 CN 或 OU、System.Collections.Hashtable+ValueCollection CSV 错误
- c - 如何在 Watcom C 中定义 NORETURN 宏
- javascript - 如何避免 Chrome 跟踪事件重叠
- python - 无法获取 lmfit 参数 stderror
- mysql - 使用row_number时mysql sql错误
- c# - 自动完成字段到大数据集
- c# - 使用 Gmap.NET 显示两个地图
- c++ - 将具有变量 args (...) 的宏转换为 constexpr 可变参数模板的问题
- python - 我一直在尝试纹理这个立方体,它与图像一起纹理但不是以正确的方式