debootstrap --variant=buildd 找不到 build-essential

debootstrap --variant=buildd 找不到 build-essential

我正在准备chroot

sudo debootstrap --verbose  --include=apt     --cache-dir=/var/cache/pbuilder/alse47-arm64/aptcache     --variant=buildd --no-check-gpg --components=main,contrib,non-free,arm64     4.7_arm     /home/user/PROSTOR/pkg-csp/builplace     https://dl.astralinux.ru/astra/stable/4.7_arm/repository-base

有以下日志

https://gist.githubusercontent.com/iva-nova-e-katerina/ef950310535f0ee9f3fa76853aa635b0/raw/b8b61dd16037a14ad5996e7f853727a0408e52f7/sudo%2520debootstrap%2520--verbose

debootstrap.log:

https://gist.githubusercontent.com/iva-nova-e-katerina/4881c9a15​​bb43c399e12c3a616e4cc6a/raw/957072a03913cd3ffd953da227cbfb52665b5c40/debootstrap.log

我确切地知道构建要素在哪里

sudo apt show build-essential
Package: build-essential
Version: 12.6
Priority: optional
Section: devel
Maintainer: Matthias Klose <[email protected]>
Installed-Size: 20.5 kB
Depends: libc6-dev | libc-dev, gcc (>= 4:8.3), g++ (>= 4:8.3), make, dpkg-dev (>= 1.17.11)
Download-Size: 7,588 B
APT-Manual-Installed: yes
APT-Sources: http://dl.astralinux.ru/astra/stable/4.7_arm/repository-base 4.7_arm/main arm64 Packages

但还是无法创建chroot。你能帮我做那件事吗?

UPD

sudo apt show linux-libc-dev-5.10.0-1057
Package: linux-libc-dev-5.10.0-1057
Version: 5.10.0-1057.astra6+ci79
Priority: optional
Section: devel
Source: linux-5.10
Maintainer: JSC RPA RusBITech <[email protected]>
Installed-Size: 6,298 kB
Provides: aufs-dev, linux-kernel-headers, linux-libc-dev
Conflicts: linux-kernel-headers
Replaces: linux-kernel-headers
Download-Size: 1,535 kB
APT-Manual-Installed: yes
APT-Sources: http://dl.astralinux.ru/astra/stable/4.7_arm/repository-base 4.7_arm/main arm64 Packages



sudo debootstrap --verbose  --include=apt     --cache-dir=/var/cache/pbuilder/alse47-arm64/aptcache     --variant=buildd --no-check-gpg --components=arm64     4.7_arm/main     /home/user/PROSTOR/pkg-csp/builplace     https://dl.astralinux.ru/astra/stable/4.7_arm/repository-main
E: No such script: /usr/share/debootstrap/scripts/4.7_arm/main

相关内容