首页 > 解决方案 > 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')

标签: pythonlinuxpython-2.7centosyum

解决方案


推荐阅读