[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#738707: linux-image-3.12-1-amd64: Failed to symbolic-link /boot/initrd.img-3.12-1-amd64 to initrd.img.



Control: tag -1 moreinfo

On Wed, 2014-02-12 at 10:01 +0100, Ph. Marek wrote:
> 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.
[...]

Can you provide the full strace output, and output of 'ls -l /boot'?

Ben.

-- 
Ben Hutchings
If more than one person is responsible for a bug, no one is at fault.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: