[Bug 2107630] Re: Plucky installation fails when enabling discencryption

Matthias 2107630 at bugs.launchpad.net
Wed Apr 23 10:44:29 UTC 2025


I also ran into the same error after deciding to wipe the whole disk and
just install Ubuntu. I ended up with a soft-bricked device (no OS
installed).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2107630

Title:
  Plucky installation fails when enabling discencryption

Status in subiquity package in Ubuntu:
  New

Bug description:
  I was trying to install Ubuntu 25.04, downloaded on 2025-04-17, alongside Windows 11.
   
  In the installer I chose to install Ubuntu alongside Windows and to enable disk encryption (LVM). When doing so the install always fails during the partitioning phase with the following error:

            File "/snap/ubuntu-desktop-bootstrap/366/lib/python3.12/site-packages/curtin/util.py", line 172, in _subp
              raise ProcessExecutionError(stdout=out, stderr=err,
          curtin.util.ProcessExecutionError: Unexpected error while running command.
          Command: ['cryptsetup', 'open', '--type', 'luks', '/dev/nvme0n1p6', 'dm_crypt-0', '--key-file', '/tmp/luks-key-0cx9rvao']
          Exit code: 2
          Reason: -
          Stdout: ''
          Stderr: ''
          Unexpected error while running command.
          Command: ['cryptsetup', 'open', '--type', 'luks', '/dev/nvme0n1p6', 'dm_crypt-0', '--key-file', '/tmp/luks-key-0cx9rvao']
          Exit code: 2
          Reason: -
          Stdout: ''
          Stderr: ''

  I've included the curtin-install.log. It's notable that attempting to
  use ZFS with encryption leads to the same error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/2107630/+subscriptions




More information about the foundations-bugs mailing list