package linux-image-4.15.0-20-generic 4.15.0-20.21~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-signed-hwe-edge (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
package linux-image-
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-15-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Wed May 9 07:20:07 2018
DistributionCha
# This is a distribution channel descriptor
# For more information see http://
canonical-
DuplicateSignature:
package:
Setting up linux-image-
/var/lib/
dpkg: error processing package linux-image-
subprocess installed post-installation script returned error exit status 127
ErrorMessage: subprocess installed post-installation script returned error exit status 127
InstallationDate: Installed on 2017-12-25 (134 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47
RelatedPackageV
dpkg 1.18.4ubuntu1.4
apt 1.2.26
SourcePackage: linux-signed-
Title: package linux-image-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Can confirm this breaks unattended upgrades of 16.04 devices with hwe installed:
# dpkg-reconfigure linux-image- 4.15.0- 20-generic dpkg-reconfigur e: linux-image- 4.15.0- 20-generic is broken or not fully installed
/usr/sbin/
# dpkg-reconfigure linux-image- 4.15.0- 20-generic --force dpkg/info/ linux-image- 4.15.0- 20-generic. postinst: 50: /var/lib/ dpkg/info/ linux-image- 4.15.0- 20-generic. postinst: linux-update- symlinks: not found
/var/lib/
However I don't know how it can happen but the grub is modified, and it won't ever reboot.
root@player-3fd4:~# cat /boot/grub/grub.cfg | grep 4.15.0-20-generic | wc -l
10
We have lost hundreds of devices today after reboot with no seemingly possible remote intervention. This is going to be a nightmare for a lot of people...