更新 hal-info软件包时出错

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

更新 hal-info软件包时出错

#1

帖子 lukelu » 2009-02-11 19:06

各位高手,请帮帮忙,昨天我手动编译了一下新的内核:linux-kernel-2.6.28.4 其它没有发现什么问题可是在我今天更新软件包的时候出现这个错误。请各位帮记分析一下什么原因。

代码: 全选

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  hal-info
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 46.1kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirrors.163.com intrepid-proposed/main hal-info 20090128-0ubuntu1~intrepid2 [46.1kB]
Fetched 46.1kB in 1s (36.3kB/s)  
(Reading database ... 210357 files and directories currently installed.)
Preparing to replace hal-info 20090128-0ubuntu1~intrepid1 (using .../hal-info_20090128-0ubuntu1~intrepid2_all.deb) ...
Unpacking replacement hal-info ...
Processing triggers for hal ...
Regenerating hal fdi cache ...
 * Restarting Hardware abstraction layer hald                            [ OK ] 
Setting up linux-image-2.6.28.4-custom (2.6.28.4-custom-10.00.Custom) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
initrd.img(/boot/initrd.img-2.6.28.4-custom
) points to /boot/initrd.img-2.6.28.4-custom
 (/boot/initrd.img-2.6.28.4-custom) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.28.4-custom.postinst line 583.
vmlinuz(/boot/vmlinuz-2.6.28.4-custom
) points to /boot/vmlinuz-2.6.28.4-custom
 (/boot/vmlinuz-2.6.28.4-custom) -- doing nothing at /var/lib/dpkg/info/linux-image-2.6.28.4-custom.postinst line 583.
Running postinst hook script update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.28.4-custom
Found kernel: /vmlinuz-2.6.27-11-generic
Found kernel: /vmlinuz-2.6.27-7-generic
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done

Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
run-parts: executing /etc/kernel/postinst.d/nvidia-common
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 20
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.28.4-custom.postinst line 1181.
dpkg: error processing linux-image-2.6.28.4-custom (--configure):
 subprocess post-installation script returned error exit status 2
Setting up hal-info (20090128-0ubuntu1~intrepid2) ...
Errors were encountered while processing:
 linux-image-2.6.28.4-custom
E: Sub-process /usr/bin/dpkg returned an error code (1)
勤奋+智慧+机遇!=...
http://happyunix.blogspot.com
回复