错误如图所示

c
[2026-02-04 22:33:25] lb bootstrap_archive-keys
Ign:1 http://deb.debian.org/debian buster InRelease
Err:2 http://deb.debian.org/debian buster Release
404 Not Found [IP: 151.101.74.132 80]
Reading package lists...
E: The repository 'http://deb.debian.org/debian buster Release' no longer has a Release file.
P: Begin unmounting filesystems...
P: Saving caches...
if [ -f binary-tar.tar.gz ]; then \
tar -jcf linaro-buster-alip-`date +%Y%m%d`-1.config.tar.bz2 auto/ config/ configure; \
sudo mv binary.contents linaro-buster-alip-`date +%Y%m%d`-1.contents; \
sudo mv chroot.packages.live linaro-buster-alip-`date +%Y%m%d`-1.packages; \
sudo mv binary-tar.tar.gz linaro-buster-alip-`date +%Y%m%d`-1.tar.gz; \
md5sum linaro-buster-alip-`date +%Y%m%d`-1.build-log.txt linaro-buster-alip-`date +%Y%m%d`-1.config.tar.bz2 linaro-buster-alip-`date +%Y%m%d`-1.contents linaro-buster-alip-`date +%Y%m%d`-1.packages linaro-buster-alip-`date +%Y%m%d`-1.tar.gz > linaro-buster-alip-`date +%Y%m%d`-1.md5sums.txt; \
sha1sum linaro-buster-alip-`date +%Y%m%d`-1.build-log.txt linaro-buster-alip-`date +%Y%m%d`-1.config.tar.bz2 linaro-buster-alip-`date +%Y%m%d`-1.contents linaro-buster-alip-`date +%Y%m%d`-1.packages linaro-buster-alip-`date +%Y%m%d`-1.tar.gz > linaro-buster-alip-`date +%Y%m%d`-1.sha1sums.txt; \
fi
Failed to run livebuild, please check your network connection.
VERSION=none TARGET=xfce-full SOC=rk356x ./mk-buster-rootfs.sh
Building for arm64
\033[41;36m Run mk-base-debian.sh first \033[0m
ERROR: Running build_debian failed!
ERROR: exit code 255 from line 953:
RELEASE=$RELEASE TARGET=$RK_ROOTFS_TARGET VERSION=$RK_ROOTFS_DEBUG SOC=$RK_SOC ARCH=$ARCH ./mk-rootfs.sh
可以得知是lb bootstrap_archive-keys命令运行错误,且根据日志追踪,最后在SDK->debian/ubuntu-build-service/buster-xfce-full-arm64目录下面运行了Makefile 。
同时查看前面,调用的脚本名称为:mk-base-debian.sh
buster-xfce-full-arm64:这个目录是可以通过build.sh脚本推断出来的,因为这是编译debian出现的错误,不太理解的请仔细查看错误日志,对比build.sh脚本去理解
bash
make clean
./configure
make
最后不断运行、尝试,发现问题是出现在lb build 2>&1,然后会生成chroot目录,然后里面的etc/apt/source.list文件。打开之后直接替换一下源,同时修改mk-base-debian.sh,将make clean注释