package initramfs-tools 0.130ubuntu3.5 failed to install/upgrade: installed initramfs-tools package post-installation script subprocess returned error exit status 1
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-
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
ProcVersionSign
Uname: Linux 4.15.0-39-generic x86_64
NonfreeKernelMo
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)
PackageArchitec
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
RelatedPackageV
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)