.....
The following extra packages will be installed:
linux-image-2.6.18-3-ixp4xx
Suggested packages:
linux-doc-2.6.18
The following NEW packages will be installed:
linux-image-2.6.18-3-ixp4xx
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
1 not fully installed or removed.
Need to get 0B/8902kB of archives.
After unpacking 25.7MB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
Selecting previously deselected package
linux-image-2.6.18-3-ixp4xx.
(Reading database ... 31251 files and directories currently installed.)
Unpacking linux-image-2.6.18-3-ixp4xx (from .../linux-image-2.6.18-3-ixp4xx_2.6.18-7_arm.deb) ...
Done.
Setting up
linux-image-2.6.18-3-ixp4xx (2.6.18-7) ...
Hmm. The package shipped with a symbolic link /lib/modules/2.6.18-3-ixp4xx/source
However, I can not read the target: No such file or directory
Therefore, I am deleting /lib/modules/2.6.18-3-ixp4xx/source
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Could not find postinst hook script [flash_kernel].
Looked in: '/bin', '/sbin', '/usr/bin', '/usr/sbin'
dpkg: error processing
linux-image-2.6.18-3-ixp4xx (--configure):
subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-2.6-ixp4xx:
linux-image-2.6-ixp4xx depends on
linux-image-2.6.18-3-ixp4xx; however:
Package linux-image-2.6.18-3-ixp4xx is not configured yet.
dpkg: error processing linux-image-2.6-ixp4xx (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.18-3-ixp4xx
linux-image-2.6-ixp4xx
E: Sub-process /usr/bin/dpkg returned an error code (1)