This section covers some of the most commonly encountered problems and gives instructions for resolving them.
Error
Cannot install into target '/var/cache/distrobuilder.123456789/rootfs' mounted with noexec or nodev
You have installed distrobuilder
into a LXD container and you are trying to run it. distrobuilder
does not run in a LXD container. Run distrobuilder
on the host, or in a VM.
Error
error: This revision of snap "distrobuilder" was published using classic confinement
You are trying to install the distrobuilder
snap package. The distrobuilder
snap package has been configured to use the classic
confinement. Therefore, when you install it, you have to add the flag --classic
as shown above in the instructions.
Error
You must be root to run this tool
You must be root in order to run the distrobuilder
tool. The tool runs commands such as mknod
that require administrative privileges. Use sudo
when running distrobuilder
.