LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 859|回复: 1

debian装内核报错

[复制链接]
发表于 2006-3-29 19:49:11 | 显示全部楼层 |阅读模式
debian:/var/cache/apt/archives# dpkg -i linux-image-2.6.16-1-686-smp_2.6.16-3_i386.deb
Selecting previously deselected package linux-image-2.6.16-1-686-smp.
(Reading database ... 79333 files and directories currently installed.)
Preparing to replace linux-image-2.6.16-1-686-smp 2.6.16-3 (using linux-image-2.6.16-1-686-smp_2.6.16-3_i386.deb) ...
The directory /lib/modules/2.6.16-1-686-smp still exists. Continuing as directed.
Done.
Unpacking replacement linux-image-2.6.16-1-686-smp ...
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
Searching for splash image ... Found splashscreen: splashimage=/boot/grub/splash.xpm.gz

Found kernel: /boot/vmlinuz-2.6.16-1-686-smp
Updating /boot/grub/menu.lst ... done

Setting up linux-image-2.6.16-1-686-smp (2.6.16-3) ...

Hmm. The package shipped with a symbolic link /lib/modules/2.6.16-1-686-smp/source
However, I can not read it: No such file or directory
Therefore, I am deleting /lib/modules/2.6.16-1-686-smp/source

Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Other valid candidates: mkinitramfs-kpkg mkinitrd.yaird
/usr/sbin/mkinitramfs-kpkg: line 55: supported_host_version: unbound variable
mkinitramfs-kpkg failed to create initrd image.
Using mkinitrd.yaird to build the ramdisk.
Other valid candidates: mkinitramfs-kpkg mkinitrd.yaird
yaird error: destination /boot/initrd.img-2.6.16-1-686-smp.new already exists (fatal)
mkinitrd.yaird failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.16-1-686-smp (--install):
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
linux-image-2.6.16-1-686-smp
发表于 2006-3-30 13:02:03 | 显示全部楼层
先把 /boot/initrd.img-2.6.16-1-686-smp.new 清除掉再装内核
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表