[Bug 2107630] [NEW] Plucky installation fails when enabling discencryption

Matthias 2107630 at bugs.launchpad.net
Fri Apr 18 09:04:13 UTC 2025


Public bug reported:

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.

** Affects: subiquity (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Curtin errors"
   https://bugs.launchpad.net/bugs/2107630/+attachment/5872627/+files/curtin-errors.tar

-- 
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