Lubuntu Next Installer fails with volume encryption

Bug #1705845 reported by Artemgy on 2017-07-22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Lubuntu Next
ubiquity (Ubuntu)

Bug Description

Choosing "physical volume for encryption" makes the installer GUI fail, using Lubuntu Next artful Alpha 1 image:

## Steps to reproduce

sudo swapoff -a # avoid bug with 'unsafe swap'
cat /proc/swaps
ubiquity &

* [Continue] through Welcome and Wireless to Disk
* choose "Manual" then [Continue]
    - NB: this is reinstalling over existing partitions from a previous install
* select swap partition - [Change] - "do not use parititon"
    - also to avoid bug with 'unsafe swap'
* boot partition - change - "Ext4" - check format - "/boot"
* main partition - change - "physical volume for encryption"
* click Install

This does NOTHING - the Install button just deselects itself when you click it!

## attempt to change options to make Install button work...

This might be a secondary issue.

* reselect main partition - [Change]

Installer Crashed

Traceback (most recent call last):
  File "/usr/lib/ubiquity/ubiquity/frontend/kde_components/", line 453, in on_edit_clicked
    self.partman_edit_dialog(devpart, partition)
  File "/usr/lib/ubiquity/ubiquity/frontend/kde_components/", line 367, in partman_edit_dialog
    self.ctrlr.dbfilter.edit_partition(devpart, **edits)
  File "/usr/lib/ubiquity/plugins/", line 3294, in edit_partition
    assert self.current_question == 'partman/choose_partition'

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: ubiquity 17.04.9
ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15
Uname: Linux 4.10.0-22-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.6-0ubuntu4
Architecture: amd64
CasperVersion: 1.383
CurrentDesktop: LXQt
Date: Sat Jul 22 18:09:08 2017
InstallCmdLine: BOOT_IMAGE=(hd0,4)/casper/vmlinuz.efi boot=casper quiet splash persistent --
LiveMediaBuild: Lubuntu-Next 17.10 "Artful Aardvark" - Alpha amd64 (20170628.1)
 PATH=(custom, no user)
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Artemgy (artemgy) wrote :
Artemgy (artemgy) wrote :

md5sum artful-desktop-amd64.iso

58368fb72c9ae44bdea6a856375234ff artful-desktop-amd64.iso

Artemgy (artemgy) on 2017-08-02
summary: - Installer fails with volume encryption
+ Lubuntu Next Installer fails with volume encryption
Artemgy (artemgy) wrote :

Main issue is duplicate of
Secondary issue is a duplicate of

My workaround was to
1) manually create, format and open the physical volume for encryption
2) launch Ubiquity, and in Manual disk layout choose the /dev/mapper/sdaX_crypt volume as / (root) without formatting
3) complete the installation but choose Continue Testing
4) chroot into target, create crypttab and check fstab, update-initramfs

for step-by-step instructions see

Launchpad Janitor (janitor) wrote :

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

Changed in ubiquity (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers