红联Linux门户
Linux帮助

FC6下Nvidia卡安装kmod-nvidia驱动出错的解决方法

发布时间:2007-01-03 09:57:31来源:红联作者:wise-man
  当前内核:

引用:
uname -a
Linux kingduanlian 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:45:28 EST 2006 i686 athlon i386 GNU/Linux


  出错信息:

引用:
sudo yum -y update kmod-nvidia
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kmod-nvidia.i686 0:1.0.9629-1.2.6.18_1.2849.fc6 set to be installed
--> Running transaction check
--> Processing Dependency: kernel-i686 = 2.6.18-1.2849.fc6 for package: kmod-nvidia
--> Processing Dependency: nvidia-kmod-common >= 1.0.9629 for package: kmod-nvidia
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i686 0:2.6.18-1.2849.fc6 set to be installed
---> Package xorg-x11-drv-nvidia.i386 0:1.0.9629-1.lvn6 set to be updated
--> Running transaction check
--> Populating transaction set with selected packages. Please wait.
---> Package kernel.i586 0:2.6.18-1.2798.fc6 set to be erased
--> Running transaction check

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
kmod-nvidia i686 1.0.9629-1.2.6.18_1.2849.fc6 livna 1.6 M
Removing:
kernel i586 2.6.18-1.2798.fc6 installed 43 M
Installing for dependencies:
kernel i686 2.6.18-1.2849.fc6 updates 16 M
Updating for dependencies:
xorg-x11-drv-nvidia i386 1.0.9629-1.lvn6 livna 4.5 M

Transaction Summary
================================================== ===========================
Install 2 Package(s)
Update 1 Package(s)
Remove 1 Package(s)

Total download size: 22 M
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error: package kernel-2.6.18-1.2849.fc6 is already installed
file /boot/System.map-2.6.18-1.2849.fc6 from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6
file /boot/config-2.6.18-1.2849.fc6 from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6
file /boot/symvers-2.6.18-1.2849.fc6.gz from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6
file /boot/vmlinuz-2.6.18-1.2849.fc6 from install of kernel-2.6.18-1.2849.fc6 conflicts with file from package kernel-2.6.18-1.2849.fc6


  解决方法:

  对于出错说明:http://fedoraproject.org/wiki/Bugs/FC6Common

  方法:

引用:
su -c "yum install yum-utils"
yumdownloader kernel-2.6.18-1.2849.fc6.i686
su -c "rpm -Uvh --replacefiles --replacepkgs kernel-2.6.18-1.2849.fc6.i686.rpm"


  之后再次以root运行

引用:
yum install kmod-nvidia


  可以成功安装,然后重启,让新内核生效,再次进入Gnome,系统-首选项-Desktop Effects启动就可以了。
文章评论

共有 0 条评论