![无法确定主机 dpkg 体系结构](https://linux22.com/image/1003325/%E6%97%A0%E6%B3%95%E7%A1%AE%E5%AE%9A%E4%B8%BB%E6%9C%BA%20dpkg%20%E4%BD%93%E7%B3%BB%E7%BB%93%E6%9E%84.png)
尝试使用 Ubuntu 16.04 为 raspberrypi3 构建映像时出现以下错误
WARNING: arm not found in cputable
| checking dpkg operating system type... linux-gnueabi
| configure: WARNING: linux-gnueabi not found in ostable
| checking dpkg architecture name... configure: error: cannot determine host dpkg architecture
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /root/build/tmp/work/cortexa7hf-neon-vfpv4-deby-linux-gnueabi/dpkg-utils/1.17.27-r1.1/temp/log.do_configure.11331)
主机配置:
4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
来自日志文件:
检查 arm-deby-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/root/build/tmp/sysroots/raspberrypi3 -std=gnu++11 是否接受 -Wformat-security... 不检查 arm-deby-linux-gnueabi-g++ -march=armv7ve -marm -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/root/build/tmp/sysroots/raspberrypi3 -std=gnu++11 是否接受 -Wpointer-arith...
dpkg 版本:1.18.4
我正在使用 meta-debian 层(github.com/meta-debian/meta-debian),旨在为 rpi3 构建基于 ubuntu 的图像
有任何建议可以解决这个问题吗?