unattended-upgrades + nvidia stack upgrade == dkms fail (package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1)

Bug #1726803 reported by Patrick Thomas on 2017-10-24
84
This bug affects 10 people
Affects Status Importance Assigned to Milestone
shim-signed (Ubuntu)
High
Unassigned
Bionic
High
Unassigned

Bug Description

Occurred a minute after logging in

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-37.41~16.04.1-generic 4.10.17
Uname: Linux 4.10.0-37-generic x86_64
.proc.sys.kernel.moksbstate_disabled: 0
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Tue Oct 24 11:35:53 2017
EFITables:
 Oct 24 11:33:04 paddy-laptop kernel: efi: EFI v2.40 by American Megatrends
 Oct 24 11:33:04 paddy-laptop kernel: efi: ACPI=0x78660000 ACPI 2.0=0x78660000 SMBIOS=0xf0000 SMBIOS 3.0=0xf0020 ESRT=0x79360598
 Oct 24 11:33:04 paddy-laptop kernel: esrt: Reserving ESRT space from 0x0000000079360598 to 0x00000000793605d0.
 Oct 24 11:33:04 paddy-laptop kernel: Secure boot enabled
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-09-11 (42 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.24
SecureBoot: 6 0 0 0 1
SourcePackage: shim-signed
Title: package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Patrick Thomas (padman) wrote :
tags: removed: need-duplicate-check
Steve Langasek (vorlon) wrote :

I'm surprised to see that your nvidia stack is being switched as part of an unattended upgrade. Reassigning to the unattended-upgrades package for further investigation.

In order to fix the particular upgrade failure, you should run 'sudo apt -f install' from a terminal. Note that you must complete the process of disabling SecureBoot, which requires a reboot, in order to use the nvidia driver on a SecureBoot-enabled system.

affects: shim-signed (Ubuntu) → unattended-upgrades (Ubuntu)
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unattended-upgrades (Ubuntu):
status: New → Confirmed
Steve Langasek (vorlon) wrote :

It appears this is normal that the nvidia packages will upgrade to pull in a newer version as a dependency. This means we need to special-case nvidia in /var/lib/dkms/nvidia-* to avoid triggering errors in unattended upgrades.

affects: unattended-upgrades (Ubuntu) → shim-signed (Ubuntu)
Changed in shim-signed (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Steve Langasek (vorlon) on 2017-10-25
summary: - package shim-signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1 failed
- to install/upgrade: subprocess installed post-installation script
- returned error exit status 1
+ unattended-upgrades + nvidia stack upgrade == dkms fail (package shim-
+ signed 1.32~16.04.1+0.9+1474479173.6c180c6-1ubuntu1 failed to
+ install/upgrade: subprocess installed post-installation script returned
+ error exit status 1)
tags: added: rls-bb-incoming
Steve Langasek (vorlon) on 2017-11-09
tags: removed: rls-bb-incoming
tags: added: id-5ab94d1375e8d544f030e3fa
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers