Lxc import squashfs backup: error while loading shared libraries


I tried to take a container from a btrfs pool and back it up to a squashfs file like so:
root@anton:~# lxc export inventree01 inventree01-2023-06-19.sq --compression squashfs
Backup exported successfully!

So far so good, then I tried to restore the same backup to a zfs pool:

root@anton:~# lxc import inventree01-2023-06-19.sq inventree01-2023-06-19 -s lxdzfsmirror
Importing instance: 100% (1.63GB/s)Error: Failed to run: sqfs2tar --no-skip /var/snap/lxd/common/lxd/backups/lxd_backup_1746859772: Process exited with non-zero value 127 (sqfs2tar: error while loading shared libraries: libsquashfs.so.1: cannot open shared object file: No such file or directory)

I seemed to remember having this problem before. I am using snap lxd version 5.14-7072c7b.

How do I fix this library problem - I assume the issue is within the lxd snap itself?


1 Like

Thanks! I look forward to the next release.