+ chroot /home/jqian/works/OrangePiH5/output/rootfs pacman -Rsn --noconfirm linux-aarch64
chroot: failed to run command 'pacman': Exec format error
+ chroot /home/jqian/works/OrangePiH5/output/rootfs umount /sys
chroot: failed to run command 'umount': Exec format error
+ chroot /home/jqian/works/OrangePiH5/output/rootfs umount /proc
chroot: failed to run command 'umount': Exec format error
root@ubuntu:/home/zhangtao/Documents/orangepi_h3_linux/OrangePi-BuildLinux# ./create_image
Sat Jun 15 14:03:03 CST 2019
=======================================================
Creating Ubuntu/Debian SD Card instalation for OrangePI
=======================================================
Creating root filesistem in local directory linux-xenial...
DEBOOTSTRAP, FIRST STAGE
OK.
Creating "sources.list"
DEBOOTSTRAP, SECOND-STAGE
please wait \/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait |/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait //second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait -/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait \/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait |/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait //second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait -/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait \/debootstrap/debootstrap: line 382: /bin/cat: cannot execute binary file: Exec format error
/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
ERROR.
================================================
ERROR on second-stage, instalation NOT FINISHED.
================================================
sudo apt purge qemu-user-static
sudo apt install qemu-user-static
https://github.com/orangepi-xunlong/OrangePi_Build/issues/34
本文记录了在OrangePi H5设备上安装软件过程中遇到的“Exec format error”错误,详细描述了错误信息及解决方案,包括使用sudo apt purge qemu-user-static和sudo apt install qemu-user-static命令来解决问题。

105

被折叠的 条评论
为什么被折叠?



