Bug#738707: linux-image-3.12-1-amd64: Failed to symbolic-link /boot/initrd.img-3.12-1-amd64 to initrd.img.
Package: src:linux
Version: 3.12.9-1
Severity: normal
I had the wrong /boot mounted.
After reboot I noticed that, got the correct filesystem on there, and did "apt-
get install --reinstall" - but that stopped with the error message above.
strace showed this:
[pid 8236] 09:56:54.538994 symlink("/boot/initrd.img-3.12-1-amd64",
"initrd.img") = -1 EEXIST (File exists)
Failed to symbolic-link /boot/initrd.img-3.12-1-amd64 to initrd.img.
So I guess there might be some script that looks at the link, says "it's
correct, no need to delete", but the symlink() call later on then gets the
error.
-- Package-specific info:
** Kernel log: boot messages should be attached
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-image-3.12-1-amd64 depends on:
ii debconf [debconf-2.0] 1.5.52
ii initramfs-tools [linux-initramfs-tool] 0.115
ii kmod 16-2
ii linux-base 3.5
ii module-init-tools 16-2
Versions of packages linux-image-3.12-1-amd64 recommends:
ii firmware-linux-free 3.2
Versions of packages linux-image-3.12-1-amd64 suggests:
pn debian-kernel-handbook <none>
ii grub-pc 2.00-22
pn linux-doc-3.12 <none>
Versions of packages linux-image-3.12-1-amd64 is related to:
pn firmware-atheros <none>
pn firmware-bnx2 <none>
pn firmware-bnx2x <none>
ii firmware-brcm80211 0.40
pn firmware-intelwimax <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
pn firmware-iwlwifi <none>
pn firmware-libertas <none>
ii firmware-linux 0.40
ii firmware-linux-nonfree 0.40
pn firmware-myricom <none>
pn firmware-netxen <none>
pn firmware-qlogic <none>
pn firmware-ralink <none>
ii firmware-realtek 0.40
pn xen-hypervisor <none>
-- debconf information excluded
Reply to: