求助……NVIDIA驱动装不上,没有kernel-source![已解决]

CPU/显卡/打印机/USB设备等硬件问题
回复
光彩先生
帖子: 4
注册时间: 2009-03-25 20:41

求助……NVIDIA驱动装不上,没有kernel-source![已解决]

#1

帖子 光彩先生 » 2009-03-25 20:58

显卡:NVIDIA 8400M G
驱动:NVIDIA-Linux-x86-180.29-pkg1.run
系统: ubuntu 2.6.27-14-generic 32位

系统自带的受限驱动不能开3D,自己装的时候都是装不上,后来把受限驱动卸了,还是装不上。
ERROR: Unable to find the kernel source tree for the currently running kernel.
Please make sure you have installed the kernel source files for your
kernel and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
installed. If you know the correct kernel source files are installed,
you may specify the kernel source path with the '--kernel-source-path'
command line option.
--------------------------------------
lustersir@lustersir-laptop:~$ sudo apt-get install kernel-source
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
现在没有可用的软件包 kernel-source,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 kernel-source 还没有可供安装的候选者
--------------------
ubuntu下面 'kernel-source' or 'kernel-devel' 的名字是不是 不是这个名啊?

sudo apt-get install linux-source到是可以装上linux-source,
但是装驱动时还是报上面的错,小弟还是个linux菜鸟,各们大侠帮帮忙! :em11
上次由 光彩先生 在 2009-03-25 23:08,总共编辑 1 次。
头像
白鳍豚
帖子: 2356
注册时间: 2009-01-19 23:03

Re: 求助……NVIDIA驱动装不上,没有kernel-source!

#2

帖子 白鳍豚 » 2009-03-25 21:17

应该不是这样装法,用这里的试试
viewtopic.php?f=74&t=183515
光彩先生
帖子: 4
注册时间: 2009-03-25 20:41

Re: 求助……NVIDIA驱动装不上,没有kernel-source!

#3

帖子 光彩先生 » 2009-03-25 22:07

白鳍豚 写了:应该不是这样装法,用这里的试试
viewtopic.php?f=74&t=183515
我按这个方法又试了一次,把该删的都删了,但还是说没有kernel-source或是kernel-devel。

build-essential以前装过,说是最新的了。
光彩先生
帖子: 4
注册时间: 2009-03-25 20:41

Re: 求助……NVIDIA驱动装不上,没有kernel-source!

#4

帖子 光彩先生 » 2009-03-25 23:07

哈哈,终于搞定了!
不关kernel-source的事,彻底清理就能装上……
huang1152999
帖子: 2
注册时间: 2008-11-28 15:40

Re: 求助……NVIDIA驱动装不上,没有kernel-source![已解决]

#5

帖子 huang1152999 » 2009-04-27 10:30

楼主,清理什么东西啊?
回复