16.04 ubiquity crashed due to package-install failure of grub2 during grub-install step
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
No idea why ubiquity crashed; maybe post mortem will reveal something.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubiquity 2.21.60 [modified: lib/partman/
ProcVersionSign
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CasperVersion: 1.375
Date: Wed Apr 20 22:49:10 2016
InstallCmdLine: BOOT_IMAGE=
LiveMediaBuild: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160419)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
From the logs
Apr 20 21:47:47 ubuntu ubiquity: Setting up grub-efi-amd64 (2.02~beta2- 36ubuntu3) ... CRYPTODISK= 1' in file `/etc/default/ grub'.. amd64-signed (1.66+2. 02~beta2- 36ubuntu3) ... CRYPTODISK= 1' in file `/etc/default/ grub'.. amd64-signed (--configure): amd64-signed
Apr 20 21:47:48 ubuntu ubiquity:
Apr 20 21:47:48 ubuntu ubiquity: Creating config file /etc/default/grub with new version
Apr 20 21:47:48 ubuntu ubiquity: Installing for x86_64-efi platform.
Apr 20 21:47:49 ubuntu ubiquity: grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_
Apr 20 21:47:49 ubuntu ubiquity: Failed: grub-install --target=x86_64-efi
Apr 20 21:47:49 ubuntu ubiquity: WARNING: Bootloader is not properly installed, system may not be bootable
Apr 20 21:47:49 ubuntu ubiquity: dpkg-query: no packages found matching dkms
Apr 20 21:47:49 ubuntu ubiquity: Setting up grub-efi-
Apr 20 21:47:49 ubuntu ubiquity: Installing for x86_64-efi platform.
Apr 20 21:47:50 ubuntu ubiquity: grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_
Apr 20 21:47:50 ubuntu ubiquity: dpkg: error processing package grub-efi-
Apr 20 21:47:50 ubuntu ubiquity: subprocess installed post-installation script returned error exit status 1
Apr 20 21:47:50 ubuntu ubiquity: Errors were encountered while processing:
Apr 20 21:47:50 ubuntu ubiquity: grub-efi-
Apr 20 21:47:52 ubuntu ubiquity: E: Sub-process /usr/bin/dpkg returned an error code (1)