There are two parts to this bug.
- in some cases, at the time shim-signed's postinst runs, there may be 
linux-image packages installed for which one or more dkms modules are not 
currently built.  There are a number of legitimate reasons why this may be the 
case, including unpack ordering during an upgrade.  shim-signed needs to 
gracefully handle the possibility that 'dkms uninstall' fails because the 
module is not installed.
- the refactoring of the kernel packaging that landed in 4.15.0-19-generic has 
a typo that prevents it from triggering dkms builds on installation.  The 
correct directory name is /etc/kernel/header_postinst.d/; 
/var/lib/dpkg/info/linux-headers-4.15.0-19-generic.postinst references 
/etc/kernel/headers_postinst.d which does not exist.

** Changed in: linux (Ubuntu)
   Importance: Undecided => Critical

** Changed in: linux (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: linux (Ubuntu)
    Milestone: None => ubuntu-18.04

** Changed in: shim-signed (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: shim-signed (Ubuntu)
   Importance: Undecided => Critical

** Changed in: shim-signed (Ubuntu)
    Milestone: None => ubuntu-18.04

** Also affects: linux (Ubuntu Bionic)
   Importance: Critical
       Status: Triaged

** Also affects: shim-signed (Ubuntu Bionic)
   Importance: Critical
       Status: Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1766391

Title:
  package shim-signed (not installed) failed to install/upgrade:
  installed shim-signed package post-installation script subprocess
  returned error exit status 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766391/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to