The missing linux-update-symlinks script seems like it's supposed to come from linux-base, which appears to exist with the same version number (4.5ubuntu1~16.04.1), yet different contents, in xenial (no linux-update-symlinks) and xenial-updates. It appears that this is because 4.5ubuntu1 is getting picked up from xenial-security, but the packages.ubuntu.com filelist isn't showing this; xenial actually seems to debootstrap 4.0, not 4.5ubuntu1~16.04.1.
https://packages.ubuntu.com/xenial/all/linux-base/filelist https://packages.ubuntu.com/xenial-updates/all/linux-base/filelist https://launchpad.net/ubuntu/xenial/+source/linux-base So I *think* (just from first bit of this research, not from actually trying a fix) it might as simple as the linux-base dependency in linux- image-4.4.0-143 needing a version constraint >= 4.5, to force apt to upgrade linux-base first. That certainly seems appropriate in any case, as the script it's planning to call isn't in 4.0 package. The upgraded package is seemingly available (from security or from xenial-updates), but there's no constraint telling apt it must seek it out, and what it already has meets the stated dependency so it's just proceeding with it. As far as workarounds this theory might suggest, I'm not sure if there's a way to get d-i to include xenial-updates in the debootstrap sources so it would just get it the newer one in the first place (which would also avoid the redundancy of downloading/installing old versions and then immediately upgrading it). I had hoped that using `d-i pkgsel/upgrade safe-upgrade` might be another way to get it to install the upgraded linux-base before proceeding to the kernel, but it doesn't happen early enough. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-base in Ubuntu. https://bugs.launchpad.net/bugs/1820755 Title: Netboot install fails due to linux-image-4.4.0-143-generic.postinst linux-update-symlinks not found Status in Blue Linux: New Status in linux package in Ubuntu: Confirmed Status in linux-base package in Ubuntu: Confirmed Status in linux source package in Xenial: Confirmed Status in linux-base source package in Xenial: Confirmed Bug description: Using a netboot install of Ubuntu 16.04 LTS server, the install fails when configuring the kernel. The failure will not let you move on. This seems to have happened after the release of https://lists.ubuntu.com/archives/ubuntu-security-announce/2019-March/004803.html The error logs Mar 18 17:09:50 in-target: Setting up linux-modules-4.4.0-143-generic (4.4.0-143.169) ... Mar 18 17:09:50 in-target: ^M Mar 18 17:09:51 in-target: Setting up linux-image-4.4.0-143-generic (4.4.0-143.169) ... Mar 18 17:09:51 in-target: ^M Mar 18 17:09:51 in-target: /var/lib/dpkg/info/linux-image-4.4.0-143-generic.postinst: 50: /var/lib/dpkg/info/linux-image-4.4.0-143-generic.postinst: Mar 18 17:09:51 in-target: linux-update-symlinks: not found Mar 18 17:09:51 in-target: ^M Mar 18 17:09:51 in-target: dpkg: error processing package linux-image-4.4.0-143-generic (--configure): Mar 18 17:09:51 in-target: ^M Mar 18 17:09:51 in-target: subprocess installed post-installation script returned error exit status 127 Mar 18 17:09:51 in-target: ^M Mar 18 17:09:51 in-target: dpkg: dependency problems prevent configuration of linux-modules-extra-4.4.0-143-generic: Mar 18 17:09:51 in-target: ^M Mar 18 17:09:51 in-target: linux-modules-extra-4.4.0-143-generic depends on linux-image-4.4.0-143-generic | linux-image-unsigned-4.4.0-143-generic; however: Mar 18 17:09:51 in-target: ^M Mar 18 17:09:51 in-target: Package linux-image-4.4.0-143-generic is not configured yet. Mar 18 17:09:51 in-target: ^M Mar To manage notifications about this bug go to: https://bugs.launchpad.net/bluelinux/+bug/1820755/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp