package initramfs-tools 0.130ubuntu3.5 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1

Bug #1804130 reported by Ryan Budney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

This happened on a near-fresh install of 18.04 on a new computer. I was having trouble getting the NVIDIA proprietary drivers working. So I did quite a bit of install/uninstall cycles, failing to get the NVIDIA drivers working. I couldn't seem to get the NVIDIA drivers to work.

I just recently discovered the reason -- I had the UEFI secure boot setup. So I disabled UEFI using the mokutil --disable-validation command. This crash occured on a system reboot. I imagine I can fix my setup from here. I'll update the thread, regardless of the outcome.

I think perhaps Ubuntu would benefit from a warning, during the installation process that UEFI secure boot can cause problems such as this. Also, when installing NVIDIA drivers with the "Software and Updates" GUI, there should be some indication of the problems if the UEFI secure boot is enabled. Perhaps users should be blocked from attempting the install, and pointed towards mokutil.

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: initramfs-tools 0.130ubuntu3.5
ProcVersionSignature: Ubuntu 4.15.0-39.42-generic 4.15.18
Uname: Linux 4.15.0-39-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Mon Nov 19 20:24:14 2018
ErrorMessage: installed initramfs-tools package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-11-16 (3 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitecture: all
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.1
 apt 1.6.6
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.130ubuntu3.5 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ryan Budney (delooper) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.