命令行:
1.rpm -ivh http://rpm.livna.org/livna-release-5.rpm
2.yum update kernel
3.重新启动
4.yum install kmod-nvidia
提示:Transaction Check Error: file /usr/include/sepol/policydb/avrule_block.h from install of libsepol-1.12.17-1.fc5 conflicts with file from package libsepol-1.11.18-2
file /usr/include/sepol/policydb/conditional.h from install of libsepol-1.12.17-1.fc5 conflicts with file from package libsepol-1.11.18-2
file /usr/include/sepol/policydb/policydb.h from install of libsepol-1.12.17-1.fc5 conflicts with file from package libsepol-1.11.18-2
详细:[root@localhost ~]# yum install kmod-nvidia
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna [1/4]
core [2/4]
updates [3/4]
extras [4/4]
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kmod-nvidia.x86_64 0:1.0.8762-2.2.6.17_1.2157_FC5 set to be installed
--> Running transaction check
--> Processing Dependency: nvidia-kmod-common >= 1.0.8762 for package: kmod-nvidia
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package xorg-x11-drv-nvidia.x86_64 0:1.0.8762-3.lvn5 set to be updated
--> Running transaction check
--> Processing Conflict: xorg-x11-drv-nvidia conflicts selinux-policy < 2.2.29-2.fc5
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package selinux-policy.noarch 0:2.3.3-8.fc5 set to be updated
--> Running transaction check
--> Processing Dependency: selinux-policy = 2.2.23-15 for package: selinux-policy-targeted
--> Processing Dependency: policycoreutils >= 1.30-1 for package: selinux-policy--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package selinux-policy-targeted.noarch 0:2.3.3-8.fc5 set to be updated
---> Package policycoreutils.x86_64 0:1.30.10-2.fc5 set to be updated
--> Running transaction check
--> Processing Dependency: libsemanage >= 1.6-1 for package: policycoreutils
--> Processing Dependency: libsepol >= 1.12-1 for package: policycoreutils
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libsepol.x86_64 0:1.12.17-1.fc5 set to be updated
---> Package libsemanage.x86_64 0:1.6.2-2.fc5 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
kmod-nvidia x86_64 1.0.8762-2.2.6.17_1.2157_FC5 livna 1.7 M
Installing for dependencies:
xorg-x11-drv-nvidia x86_64 1.0.8762-3.lvn5 livna 4.6 M
Updating for dependencies:
libsemanage x86_64 1.6.2-2.fc5 updates 123 k
libsepol x86_64 1.12.17-1.fc5 updates 142 k
policycoreutils x86_64 1.30.10-2.fc5 updates 314 k
selinux-policy noarch 2.3.3-8.fc5 updates 499 k
selinux-policy-targeted noarch 2.3.3-8.fc5 updates 512 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 5 Package(s)
Remove 0 Package(s)
Total download size: 7.9 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Check Error: file /usr/include/sepol/policydb/avrule_block.h from install of libsepol-1.12.17-1.fc5 conflicts with file from package libsepol-1.11.18-2
file /usr/include/sepol/policydb/conditional.h from install of libsepol-1.12.17-1.fc5 conflicts with file from package libsepol-1.11.18-2
file /usr/include/sepol/policydb/policydb.h from install of libsepol-1.12.17-1.fc5 conflicts with file from package libsepol-1.11.18-2