i# apt-get install linux-image-2.6.26-1-686 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 linux-image-2.6.26-1-686 已经是最新的版本了。 linux-image-2.6.26-1-686 被设置为手动安装。 共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 378 个软件未被升级。 有 1 个软件包没有被完全安装或卸载。 解压缩后会消耗掉 0B 的额外空间。 正在设置 linux-image-2.6.26-1-686 (2.6.26-6) ... Running depmod. Running mkinitramfs-kpkg. Not updating initrd symbolic links since we are being updated/reinstalled (2.6.26-2 was configured last, according to dpkg) Not updating image symbolic links since we are being updated/reinstalled (2.6.26-2 was configured last, according to dpkg) Running postinst hook script update-grub. Searching for GRUB installation directory ... found: /boot/grub User postinst hook script [update-grub] exited with value 1 dpkg:处理 linux-image-2.6.26-1-686 (--configure)时出错: 子进程 post-installation script 返回了错误号 1 在处理时有错误发生: linux-image-2.6.26-1-686 E: Sub-process /usr/bin/dpkg returned an error code (1)
然后我用-f也不行。 # apt-get install -f 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 378 个软件未被升级。 有 1 个软件包没有被完全安装或卸载。 解压缩后会消耗掉 0B 的额外空间。 正在设置 linux-image-2.6.26-1-686 (2.6.26-6) ... Running depmod. Running mkinitramfs-kpkg. Not updating initrd symbolic links since we are being updated/reinstalled (2.6.26-2 was configured last, according to dpkg) Not updating image symbolic links since we are being updated/reinstalled (2.6.26-2 was configured last, according to dpkg) Running postinst hook script update-grub. Searching for GRUB installation directory ... found: /boot/grub User postinst hook script [update-grub] exited with value 1 dpkg:处理 linux-image-2.6.26-1-686 (--configure)时出错: 子进程 post-installation script 返回了错误号 1 在处理时有错误发生: linux-image-2.6.26-1-686 E: Sub-process /usr/bin/dpkg returned an error code (1)

