尝试使用以下方法创建chroot时:
'/usr/bin/schroot --chroot source:mini-buildd-licensing-1-amd64 --user root -- /bin/sh -c "echo 'deb http://repomanager.xxx.com:8082/ licensing-1 main' >/etc/apt/sources.list"
我收到:
I: 15mini-buildd-workarounds: I: Not acting on source chroots, skipping...
E: 20copyfiles: cp: cannot create regular file '/var/run/schroot/mount/mini-buildd-licensing-10-amd64-3bb06263-31a1-4eb6-a89c-28340442cd78/etc/resolv.conf': No such file or directory
E: mini-buildd-licensing-10-amd64-3bb06263-31a1-4eb6-a89c-28340442cd78: Chroot setup failed: stage=setup-start
我的chroot:
[mini-buildd-licensing-1-amd64]
description=Mini-Buildd chroot mini-buildd-licensing-1-amd64
setup.fstab=mini-buildd/fstab
groups=sbuild
users=mini-buildd
root-groups=sbuild
root-users=mini-buildd
source-root-users=mini-buildd
personality=linux
# Backend specific config
type=directory
directory=/var/lib/mini-buildd/var/chroots/licensing-1/amd64/source
union-type=overlay
此错误是什么意思?谢谢