Edubuntu install failed crashed with CalledProcessError

Bug #2049798 reported by Jeremy Bícha
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Edubuntu Desktop Installer
Won't Fix

Bug Description

Today's Edubuntu noble installer crashed.

Log excerpt
mdadm command not found: [Errno 2] No such file or directory: 'mdadm'
subiquity/Filesystem/_probe/probe_once: FAIL: [Errno 2] No such file or directory: 'pvscan'

1. Exit the installer to get into live mode
2. Open a terminal and run
sudo apt install lvm2
3. Close the terminal
4. Click Install Edubuntu 24.04 LTS and run the installation.
The install now completed normally for me.

Other Info
mdadm is from the binary package mdadm. I managed to complete the full install, default partioning without it.

pvscan is from the binary package lvm2

Both mdadm and lvm2 are in the Ubuntu iso but not in Edubuntu's by comparing the manifest lists.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: subiquity (unknown)
ProcVersionSignature: Ubuntu 6.6.0-14.14-generic 6.6.3
Uname: Linux 6.6.0-14-generic x86_64
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.490
CurtinAptConfig: /var/log/installer/subiquity-curtin-apt.conf
Date: Fri Jan 19 00:38:41 2024
ExecutablePath: /snap/edubuntu-desktop-installer/13/bin/subiquity/subiquity/cmd/
InterpreterPath: /snap/edubuntu-desktop-installer/13/usr/bin/python3.10
LiveMediaBuild: Edubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240118)
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 002: ID 08e6:4433 Gemalto (was Gemplus) GemPC433-Swap
 Bus 001 Device 003: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 /: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/15p, 480M
     |__ Port 001: Dev 002, If 0, Class=Chip/SmartCard, Driver=[none], 12M
     |__ Port 002: Dev 003, If 0, Class=Human Interface Device, Driver=usbhid, 480M
 /: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/15p, 5000M
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
ProcAttrCurrent: snap.hostname-desktop-installer.subiquity-server (complain)
ProcCmdline: /snap/hostname-desktop-installer/13/usr/bin/python3.10 -m subiquity.cmd.server --use-os-prober --storage-version=2 --postinst-hooks-dir=/snap/hostname-desktop-installer/13/etc/subiquity/postinst.d
 PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz --- quiet splash
Python3Details: /usr/bin/python3.11, Python 3.11.7, python3-minimal, 3.11.4-5
PythonDetails: N/A

SnapRevision: 13
SnapUpdated: False
SnapVersion: 0+git.96739f1
SourcePackage: subiquity
Title: install failed crashed with CalledProcessError
UpgradeStatus: No upgrade log present (probably fresh install) 04/01/2014
dmi.bios.release: 0.0
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.16.3-debian-1.16.3-2
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-q35-8.1
dmi.modalias: dmi:bvnSeaBIOS:bvr1.16.3-debian-1.16.3-2:bd04/01/2014:br0.0:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-8.1:cvnQEMU:ct1:cvrpc-q35-8.1:sku: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-8.1
dmi.sys.vendor: QEMU

Revision history for this message
Jeremy Bícha (jbicha) wrote :
Jeremy Bícha (jbicha)
description: updated
information type: Private → Public
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Per the Edubuntu live seed[1], lvm2 and mdadm are both seeded, however lvm2 is somehow not making it into the manifest [2]. Please note this is time-sentisitive information. [3]

I'm not sure if adding lvm2 and mdadm to the edubuntu-desktop-installer snap dependencies is the answer or not, or if this is truly a bug in subiquity.

[3] These links are subject to content changes or disappearing altogether, grab them while they're hot.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

While this might still be a bug in subiquity, the fix I did to the snapcraft.yml in edubuntu-desktop-installer[1] for sure fixed the issue, meaning, from an edubuntu-desktop-installer perspective, this is fixed.

That said, I'm not sure if subiquity needs to fix this themselves to include this in the subiquity snap, but it definitely points to lvm2 and mdadm being necessary dependencies of subiquity.


Changed in edubuntu-desktop-installer:
status: New → Fix Released
Revision history for this message
Dan Bungert (dbungert) wrote :

I'm going to mark this WONTFIX for Subiquity as in the meantime it is resolved in the seeds. I'm willing to consider that it should be staged in the snap, but I don't think we need to keep this bug around to track that, and it's not an immediately required change.

I believe the seed problem was ultimately the distinction between ship-live and live, which have very different meanings. In baseline Ubuntu desktop, these dependencies are declared in ship-live.

Changed in subiquity:
status: New → Won't Fix
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

As Edubuntu Desktop Installer is now deprecated and depends on ubuntu-desktop-provisioning, it's now not a thing there. New installer with ubuntu-desktop-provisioning exhibits same issue as before.

Changed in edubuntu-desktop-installer:
status: Fix Released → Invalid
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:

tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.