I finally came up with a workaround that can be done in a preseed.cfg
(until this can be fixed properly in the kernel image)

d-i preseed/early_command string echo -e "#!/bin/sh\napt-install linux-
base" > /usr/lib/post-base-installer.d/99-bug1820755; chmod +x /usr/lib
/post-base-installer.d/99-bug1820755

In other words, have the early command (which runs before base-
installer) set up another post-base-installer callback hook, to upgrade
linux-base. Since base-installer runs its post_install_hooks between
apt_update and install_kernel, this can pick up the linux-base from
xenial-updates, which will let the kernel install succeed.

Seems to work for me and ends up with everything at the right versions
in the end. That seems better than trying to hold back the linux-
image-4.4.0-143-generic, which would leave you vulnerable to USN-3910-1
.

-- 
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:
  Fix Released

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

Reply via email to