Bug#417278: Failed to symbolic-link boot/initrd.img-2.6.18-4-686 to initrd.img.
On Mon, Apr 02, 2007 at 10:58:56AM +0200, Jan Wagner wrote:
> # LANG=C aptitude upgrade
> Reading package lists... Done
> Building dependency tree... Done
> Reading extended state information
> Initializing package states... Done
> Reading task descriptions... Done
> Building tag database... Done
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B of archives. After unpacking 0B will be used.
> Setting up linux-image-2.6.18-4-686 (2.6.18.dfsg.1-12) ...
> Running depmod.
> Finding valid ramdisk creators.
> Using mkinitramfs-kpkg to build the ramdisk.
> Failed to symbolic-link boot/initrd.img-2.6.18-4-686 to initrd.img.
> dpkg: error processing linux-image-2.6.18-4-686 (--configure):
> subprocess post-installation script returned error exit status 17
> Errors were encountered while processing:
> linux-image-2.6.18-4-686
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install. Trying to recover:
> Setting up linux-image-2.6.18-4-686 (2.6.18.dfsg.1-12) ...
> Running depmod.
> Finding valid ramdisk creators.
> Using mkinitramfs-kpkg to build the ramdisk.
> Failed to symbolic-link boot/initrd.img-2.6.18-4-686 to initrd.img.
> dpkg: error processing linux-image-2.6.18-4-686 (--configure):
> subprocess post-installation script returned error exit status 17
> Errors were encountered while processing:
> linux-image-2.6.18-4-686
> # ls -la / | grep 2.6.
> lrwxrwxrwx 1 root root 23 2007-03-23 07:12 initrd.img ->
> initrd.img-2.6.18-4-686
> lrwxrwxrwx 1 root root 31 2006-07-05 14:20 initrd.img.old ->
> boot/initrd.img-2.6.8-3-686-smp
> lrwxrwxrwx 1 root root 20 2007-03-23 07:12 vmlinuz ->
> vmlinuz-2.6.18-4-686
> lrwxrwxrwx 1 root root 28 2006-07-05 14:20 vmlinuz.old ->
> boot/vmlinuz-2.6.8-3-686-smp
>
> "rm /initrd.img /vmlinuz" fixed it for me, but it seems no general solution.
>
never saw that error, please try to reprduce:
apt-get --reinstall install linux-image-2.6.18-4-686
--
maks
Reply to: