升级内核出错了!!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
yy890521
帖子: 580
注册时间: 2008-11-09 18:07
来自: SCU

升级内核出错了!!

#1

帖子 yy890521 » 2010-01-22 17:07

正在设置 linux-image-2.6.31-16-generic (2.6.31-16.53) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.31-16-generic
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.31-16.52 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.31-16.52 was configured last, according to dpkg)
Running postinst hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-18-generic
Found initrd image: /boot/initrd.img-2.6.31-18-generic
Found linux image: /boot/vmlinuz-2.6.31-16-generic
Found initrd image: /boot/initrd.img-2.6.31-16-generic
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
done
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
* Running DKMS auto installation service for kernel 2.6.31-16-generic
* bcmwl (5.10.91.9+bdcom)... bcmwl (5.10.91.9+bdcom): Already installed on this kernel.
[ OK ]
run-parts: executing /etc/kernel/postinst.d/nvidia-common
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 10
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.31-16-generic.postinst line 1002.
dpkg:处理 linux-image-2.6.31-16-generic (--configure)时出错:
子进程 已安装的 post-installation 脚本 返回了错误号 2

2.6.31-18也是相同错误
:em20 :em20
。。。。。。。。感觉好山寨。。。。。。。。。
头像
yy890521
帖子: 580
注册时间: 2008-11-09 18:07
来自: SCU

Re: 升级内核出错了!!

#2

帖子 yy890521 » 2010-01-22 17:20

解决了

删除/etc/kernel/header_postinst.d和/etc/kernel/postinst.d中的两个nvdia-common文件
。。。。。。。。感觉好山寨。。。。。。。。。
头像
Leonador
帖子: 42
注册时间: 2008-04-29 8:44

Re: 升级内核出错了!!

#3

帖子 Leonador » 2010-02-03 15:54

yy890521 写了:解决了

删除/etc/kernel/header_postinst.d和/etc/kernel/postinst.d中的两个nvdia-common文件
看来显卡驱动是关键
不知道升级之前先卸载显卡驱动管不管用
回复