Distrobuilder 故障排除¶
本节介绍一些最常见的遇到的问题,并给出解决它们的说明。
无法安装到目标¶
错误
Cannot install into target '/var/cache/distrobuilder.123456789/rootfs' mounted with noexec or nodev
您已将 distrobuilder
安装到 Incus 容器中,并尝试运行它。 distrobuilder
无法在 Incus 容器中运行。请在主机或虚拟机上运行 distrobuilder
。
传统隔离¶
错误
error: This revision of snap "distrobuilder" was published using classic confinement
您正在尝试安装 distrobuilder
snap 包。 distrobuilder
snap 包已配置为使用 classic
隔离。因此,当您安装它时,您需要添加标志 --classic
,如上面的说明所示。
必须是 root¶
错误
You must be root to run this tool
您必须是 root 用户才能运行 distrobuilder
工具。该工具运行诸如 mknod
之类的命令,这些命令需要管理员权限。运行 distrobuilder
时,请使用 sudo
。