Ubuntu 22.04 Server Autoinstall Traceback crash trying to install packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Autoinstall installation crashes with this error when using a local iso cidata containing the user-data on arm64. This exact same user-data and package selection works on Ubuntu 22.04 installations on x86_64 with user-data served over http:
Title: install failed crashed with CalledProcessError
Traceback:
Traceback (most recent call last):
File "/snap/
await self.postinstal
File "/snap/
return await meth(self, **kw)
File "/snap/
await self.install_
File "/snap/
return await meth(self, **kw)
File "/snap/
await run_curtin_command(
File "/snap/
return await cmd.wait()
File "/snap/
result = await self.runner.
File "/snap/
raise subprocess.
subprocess.
Reproduce this easily on any new Mac M1/M2 from my public GitHub repo where the autoinstall user data and Hashicorp Packer config is for 100% reproducibility:
git clone https:/
cd pack
make install tart # Tart is only for new ARM processor Macs M1/M2
make ubuntu-tart # downloads the arm64 ISO, creates the cidata iso image with autoinstall user-data, and then run packer to do the build
On an x86_64 system with VirtualBox installed you can see the same exact autoinstall user-data served over http working to install on the same version of Ubuntu 22.04:
git clone https:/
cd pack
make install vbox # run only on Mac to install packer and virtualbox, otherwise install them yourself
make ubuntu-vbox
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
I've tried to isolate the code path in case it was related to local boot medium, by making an alternate configuration to boot using an autoinstall user data over the network as works on x86_64 installs on VirtualBox, but the exact same occurs in user-data provided over the network too.
You can reproduce this second case by running the alternate make target:
make ubuntu-tart-http
which also takes care of starting a simple `python3 -m http.server` from the installers/ directory which I'd already tested from a tty2 on the installer in the first case can `curl http:// 192.168. 64.1:8000/ user-data` as the address of the Tart VM host and to test the web server was serving out the user-data.