I wanted to build a Ubuntu Jammy image, so I modified scripts/main.sh to change RELEASE= "bullseye" to RELEASE= "jammy"
But when I executed sudo. /build.sh for a period of time, the system prompted the following error:
E: Couldn't download http://localhost:3142/mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/jammy/main/binary-arm64/Packages
[ error ] ERROR in function create_rootfs_cache
[ error ] Debootstrap base system for current h616 jammy first stage failed
[ o.k. ] Process terminated
/home/zhouhua/Allwinner-H616-develop/scripts/image-helpers.sh: line 52: get_extension_hook_stracktrace: command not found
[ error ] unmount_on_exit() called!
[ o.k. ] Unmounting [ /home/zhouhua/Allwinner-H616-develop/.tmp/rootfs-c4d132a1-c67a-4885-aea3-f7981ed3b35b/ ]
[ error ] ERROR in function unmount_on_exit
[ error ] debootstrap-ng was interrupted
[ o.k. ] Process terminated
How can I solve this problem?
I wanted to build a Ubuntu Jammy image, so I modified
scripts/main.sh
to changeRELEASE= "bullseye"
toRELEASE= "jammy"
But when I executedsudo. /build.sh
for a period of time, the system prompted the following error: E: Couldn't download http://localhost:3142/mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/jammy/main/binary-arm64/Packages [ error ] ERROR in function create_rootfs_cache [ error ] Debootstrap base system for current h616 jammy first stage failed [ o.k. ] Process terminated /home/zhouhua/Allwinner-H616-develop/scripts/image-helpers.sh: line 52: get_extension_hook_stracktrace: command not found [ error ] unmount_on_exit() called! [ o.k. ] Unmounting [ /home/zhouhua/Allwinner-H616-develop/.tmp/rootfs-c4d132a1-c67a-4885-aea3-f7981ed3b35b/ ] [ error ] ERROR in function unmount_on_exit [ error ] debootstrap-ng was interrupted [ o.k. ] Process terminated How can I solve this problem?