The relevant (perl) code in the kernel postinst is:
symlink($Old . "$link_name", $src_dir . "$link_name") || die("Failed to symbolic-link " . $dest_dir . "$link_name to " . $src_dir . "$link_name .\n"); warn "ln -s " . $Old . "$link_name " . $src_dir . "$link_name" if $DEBUG;
Unfortunately, it fails to include the error message ("$!"), so it would be very difficult to figure out what went wrong at this point.
The relevant (perl) code in the kernel postinst is:
symlink($Old . "$link_name", $src_dir . "$link_name") ||
die("Failed to symbolic-link " . $dest_dir . "$link_name to " . $src_dir
. "$link_name .\n");
warn "ln -s " . $Old . "$link_name " . $src_dir . "$link_name" if $DEBUG;
Unfortunately, it fails to include the error message ("$!"), so it would be very difficult to figure out what went wrong at this point.