我正在尝试使用 multistrap 创建 arm64 debian bookworm 图像。
主机系统:Ubuntu 20.04 x86_64
多带配置:
[General]
arch=arm64
noauth=false
aptsources=Debian
bootstrap=Debian
addimportant=true
[Debian]
packages=network-manager git curl wget
keyring=debian-archive-keyring
suite=bookworm
source=http://ftp.debian.org/debian
components=main contrib non-free-firmware non-free
多带调用:
sudo multistrap -d /mnt/temp -f display_config
输出:
multistrap 2.2.10 using display_config
multistrap 2.2.10 using display_config
Defaulting architecture to native: amd64
multistrap building amd64 multistrap on 'amd64'
I: Setting /mnt/temp/lib64 -> /mnt/temp/lib symbolic link.
I: Downloading debian-archive-keyring
E: Can't find a source to download version '2023.3+deb12u1' of 'debian-archive-keyring:amd64'
multistrap: Unable to download keyring package: '/mnt/temp/'
我不知道我做错了什么,我的配置对我来说似乎没有错。
我确实觉得它搜索 很奇怪debian-archive-keyring:amd64
。
那个包是一个:all
包。
有谁知道我错过了什么?
这可能看起来很奇怪,因为正如您所指出的,
debian-archive-keyring
这是一个“arch: all”包。但是我认为,当目标体系结构不是主机的本机体系结构时,需要将其设置为外部体系结构:完成目标构建后,您可以通过运行以下命令将其删除
然而 multistrap 无人维护,并且实际上已被mmdebstrap取代;您应该使用后者。