Build of Ubuntu 22.04 jammy fails

Bug #1981435 reported by Kamil Madac
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
diskimage-builder
New
Undecided
Unassigned

Bug Description

Build of ubuntu 22.04 fails with error:

2022-07-11 17:52:15.684 | jammy-server-cloudimg-amd64.squashfs.manifest: FAILED open or read
2022-07-11 17:52:18.177 | jammy-server-cloudimg-amd64.squashfs: OK
2022-07-11 17:52:18.177 | sha256sum: WARNING: 1 listed file could not be read

How it was executed:

$ export DIB_RELEASE=jammy
$ disk-image-create -x -a amd64 -o ./images/ubuntu-jammy ubuntu vm

How to fix it:
Manually download jammy-server-cloudimg-amd64.squashfs.manifest and save it to .cache/image create dir

wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.squashfs.manifest
mv jammy-server-cloudimg-amd64.squashfs.manifest /home/$USER/.cache/image-create/

Now the jammy image is successfully built, so it seems that sha256sum needs also .manifest file to successfully pass hash checking.

Build of ubuntu-minimal works ok, only ubuntu is affected with this bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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