Setting up linux-image-2.6.18-5-686 (2.6.18.dfsg.1-17) ...
Hmm. The package shipped with a symbolic link /lib/modules/2.6.18-5-686/source
However, I can not read the target: No such file or directory
Therefore, I am deleting /lib/modules/2.6.18-5-686/source
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Running postinst hook script /sbin/update-grub.
Your /etc/kernel-img.conf needs to be updated. Read grub's NEWS.Debian[1]
file and follow its instructions.
1. /usr/share/doc/grub/NEWS.Debian.gz
You shouldn't call /sbin/update-grub. Please call /usr/sbin/update-grub instead!
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... Generating /boot/grub/default file and setting the default boot entry to 0
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.18-5-686
Found kernel: /boot/vmlinuz-2.6.18-4-686
Found kernel: /boot/vmlinuz-2.6.8-3-386
Found kernel: /boot/vmlinuz-2.6.8-2-686-smp
Updating /boot/grub/menu.lst ... done