在服务器上运行:
# yum install policycoreutils-python
服务器输出:
# yum install policycoreutils-python
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.mirror.gtcomm.net
* extras: less.cogeco.net
* rpmforge: mirror.nexcess.net
* updates: centos.mirror.ca.planethoster.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package policycoreutils-python.x86_64 0:2.0.83-19.30.el6 will be installed
--> Processing Dependency: libsemanage-python >= 2.0.43-4 for package: policycoreutils-python-2.0.83-19.30.el6.x86_64
--> Processing Dependency: audit-libs-python >= 1.4.2-1 for package: policycoreutils-python-2.0.83-19.30.el6.x86_64
--> Processing Dependency: setools-libs-python for package: policycoreutils-python-2.0.83-19.30.el6.x86_64
--> Processing Dependency: libselinux-python for package: policycoreutils-python-2.0.83-19.30.el6.x86_64
--> Processing Dependency: libcgroup for package: policycoreutils-python-2.0.83-19.30.el6.x86_64
--> Running transaction check
---> Package audit-libs-python.x86_64 0:2.2-2.el6 will be installed
---> Package libcgroup.x86_64 0:0.37-7.2.el6_4 will be installed
---> Package libselinux-python.x86_64 0:2.0.94-5.3.el6_4.1 will be installed
---> Package libsemanage-python.x86_64 0:2.0.43-4.2.el6 will be installed
---> Package setools-libs-python.x86_64 0:3.3.7-4.el6 will be installed
--> Processing Dependency: setools-libs = 3.3.7-4.el6 for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libsefs.so.4(VERS_4.0)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libseaudit.so.4(VERS_4.2)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libseaudit.so.4(VERS_4.1)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.3)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libpoldiff.so.1(VERS_1.3)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libpoldiff.so.1(VERS_1.2)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libapol.so.4(VERS_4.1)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libsefs.so.4()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libseaudit.so.4()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libqpol.so.1()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libpoldiff.so.1()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libapol.so.4()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Running transaction check
---> Package setools-libs.x86_64 0:3.3.7-4.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
policycoreutils-python x86_64 2.0.83-19.30.el6 base 342 k
Installing for dependencies:
audit-libs-python x86_64 2.2-2.el6 base 59 k
libcgroup x86_64 0.37-7.2.el6_4 updates 111 k
libselinux-python x86_64 2.0.94-5.3.el6_4.1 updates 202 k
libsemanage-python x86_64 2.0.43-4.2.el6 base 81 k
setools-libs x86_64 3.3.7-4.el6 base 400 k
setools-libs-python x86_64 3.3.7-4.el6 base 222 k
Transaction Summary
================================================================================
Install 7 Package(s)
Total download size: 1.4 M
Installed size: 5.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): audit-libs-python-2.2-2.el6.x86_64.rpm | 59 kB 00:00
(2/7): libcgroup-0.37-7.2.el6_4.x86_64.rpm | 111 kB 00:00
(3/7): libselinux-python-2.0.94-5.3.el6_4.1.x86_64.rpm | 202 kB 00:00
(4/7): libsemanage-python-2.0.43-4.2.el6.x86_64.rpm | 81 kB 00:00
(5/7): policycoreutils-python-2.0.83-19.30.el6.x86_64.rp | 342 kB 00:00
(6/7): setools-libs-3.3.7-4.el6.x86_64.rpm | 400 kB 00:00
(7/7): setools-libs-python-3.3.7-4.el6.x86_64.rpm | 222 kB 00:00
--------------------------------------------------------------------------------
Total 3.7 MB/s | 1.4 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libselinux-python-2.0.94-5.3.el6_4.1.x86_64 1/7
Installing : setools-libs-3.3.7-4.el6.x86_64 2/7
Installing : setools-libs-python-3.3.7-4.el6.x86_64 3/7
Installing : libsemanage-python-2.0.43-4.2.el6.x86_64 4/7
Installing : audit-libs-python-2.2-2.el6.x86_64 5/7
Installing : libcgroup-0.37-7.2.el6_4.x86_64 6/7
Installing : policycoreutils-python-2.0.83-19.30.el6.x86_64 7/7
Verifying : libcgroup-0.37-7.2.el6_4.x86_64 1/7
Verifying : audit-libs-python-2.2-2.el6.x86_64 2/7
Verifying : policycoreutils-python-2.0.83-19.30.el6.x86_64 3/7
Verifying : setools-libs-python-3.3.7-4.el6.x86_64 4/7
Verifying : libsemanage-python-2.0.43-4.2.el6.x86_64 5/7
Verifying : setools-libs-3.3.7-4.el6.x86_64 6/7
Verifying : libselinux-python-2.0.94-5.3.el6_4.1.x86_64 7/7
Installed:
policycoreutils-python.x86_64 0:2.0.83-19.30.el6
Dependency Installed:
audit-libs-python.x86_64 0:2.2-2.el6
libcgroup.x86_64 0:0.37-7.2.el6_4
libselinux-python.x86_64 0:2.0.94-5.3.el6_4.1
libsemanage-python.x86_64 0:2.0.43-4.2.el6
setools-libs.x86_64 0:3.3.7-4.el6
setools-libs-python.x86_64 0:3.3.7-4.el6
Complete!
#
# yum install policycoreutils-python
服务器输出:
# yum install policycoreutils-python
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.mirror.gtcomm.net
* extras: less.cogeco.net
* rpmforge: mirror.nexcess.net
* updates: centos.mirror.ca.planethoster.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package policycoreutils-python.x86_64 0:2.0.83-19.30.el6 will be installed
--> Processing Dependency: libsemanage-python >= 2.0.43-4 for package: policycoreutils-python-2.0.83-19.30.el6.x86_64
--> Processing Dependency: audit-libs-python >= 1.4.2-1 for package: policycoreutils-python-2.0.83-19.30.el6.x86_64
--> Processing Dependency: setools-libs-python for package: policycoreutils-python-2.0.83-19.30.el6.x86_64
--> Processing Dependency: libselinux-python for package: policycoreutils-python-2.0.83-19.30.el6.x86_64
--> Processing Dependency: libcgroup for package: policycoreutils-python-2.0.83-19.30.el6.x86_64
--> Running transaction check
---> Package audit-libs-python.x86_64 0:2.2-2.el6 will be installed
---> Package libcgroup.x86_64 0:0.37-7.2.el6_4 will be installed
---> Package libselinux-python.x86_64 0:2.0.94-5.3.el6_4.1 will be installed
---> Package libsemanage-python.x86_64 0:2.0.43-4.2.el6 will be installed
---> Package setools-libs-python.x86_64 0:3.3.7-4.el6 will be installed
--> Processing Dependency: setools-libs = 3.3.7-4.el6 for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libsefs.so.4(VERS_4.0)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libseaudit.so.4(VERS_4.2)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libseaudit.so.4(VERS_4.1)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.3)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libpoldiff.so.1(VERS_1.3)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libpoldiff.so.1(VERS_1.2)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libapol.so.4(VERS_4.1)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libsefs.so.4()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libseaudit.so.4()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libqpol.so.1()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libpoldiff.so.1()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Processing Dependency: libapol.so.4()(64bit) for package: setools-libs-python-3.3.7-4.el6.x86_64
--> Running transaction check
---> Package setools-libs.x86_64 0:3.3.7-4.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
policycoreutils-python x86_64 2.0.83-19.30.el6 base 342 k
Installing for dependencies:
audit-libs-python x86_64 2.2-2.el6 base 59 k
libcgroup x86_64 0.37-7.2.el6_4 updates 111 k
libselinux-python x86_64 2.0.94-5.3.el6_4.1 updates 202 k
libsemanage-python x86_64 2.0.43-4.2.el6 base 81 k
setools-libs x86_64 3.3.7-4.el6 base 400 k
setools-libs-python x86_64 3.3.7-4.el6 base 222 k
Transaction Summary
================================================================================
Install 7 Package(s)
Total download size: 1.4 M
Installed size: 5.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): audit-libs-python-2.2-2.el6.x86_64.rpm | 59 kB 00:00
(2/7): libcgroup-0.37-7.2.el6_4.x86_64.rpm | 111 kB 00:00
(3/7): libselinux-python-2.0.94-5.3.el6_4.1.x86_64.rpm | 202 kB 00:00
(4/7): libsemanage-python-2.0.43-4.2.el6.x86_64.rpm | 81 kB 00:00
(5/7): policycoreutils-python-2.0.83-19.30.el6.x86_64.rp | 342 kB 00:00
(6/7): setools-libs-3.3.7-4.el6.x86_64.rpm | 400 kB 00:00
(7/7): setools-libs-python-3.3.7-4.el6.x86_64.rpm | 222 kB 00:00
--------------------------------------------------------------------------------
Total 3.7 MB/s | 1.4 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libselinux-python-2.0.94-5.3.el6_4.1.x86_64 1/7
Installing : setools-libs-3.3.7-4.el6.x86_64 2/7
Installing : setools-libs-python-3.3.7-4.el6.x86_64 3/7
Installing : libsemanage-python-2.0.43-4.2.el6.x86_64 4/7
Installing : audit-libs-python-2.2-2.el6.x86_64 5/7
Installing : libcgroup-0.37-7.2.el6_4.x86_64 6/7
Installing : policycoreutils-python-2.0.83-19.30.el6.x86_64 7/7
Verifying : libcgroup-0.37-7.2.el6_4.x86_64 1/7
Verifying : audit-libs-python-2.2-2.el6.x86_64 2/7
Verifying : policycoreutils-python-2.0.83-19.30.el6.x86_64 3/7
Verifying : setools-libs-python-3.3.7-4.el6.x86_64 4/7
Verifying : libsemanage-python-2.0.43-4.2.el6.x86_64 5/7
Verifying : setools-libs-3.3.7-4.el6.x86_64 6/7
Verifying : libselinux-python-2.0.94-5.3.el6_4.1.x86_64 7/7
Installed:
policycoreutils-python.x86_64 0:2.0.83-19.30.el6
Dependency Installed:
audit-libs-python.x86_64 0:2.2-2.el6
libcgroup.x86_64 0:0.37-7.2.el6_4
libselinux-python.x86_64 0:2.0.94-5.3.el6_4.1
libsemanage-python.x86_64 0:2.0.43-4.2.el6
setools-libs.x86_64 0:3.3.7-4.el6
setools-libs-python.x86_64 0:3.3.7-4.el6
Complete!
#