Missing fuse deb package when trying to preseed snaps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I tried to build an arm64 image on AWS (with ubuntu-bartender):
./scripts/
The build fails with:
+ snap_validate_seed /tmp/tmp.9FX9CNOMhi
+ local CHROOT_
+ '[' -e /tmp/tmp.
+ snap debug validate-seed /tmp/tmp.
++ realpath /tmp/tmp.9FX9CNOMhi
+ /usr/lib/
++ realpath /tmp/tmp.9FX9CNOMhi
+ /usr/lib/
error: cannot mount /var/lib/
So snap-preseed can't mount the snap. Trying to do that manually (from within the chroot) also fails:
# mount -t fuse.snapfuse -o ro,x-gdu.
mount: /mnt: wrong fs type, bad option, bad superblock on /var/lib/
The reason is, that the fuse .deb package is not installed. Installing that package into the chroot solves the problem.