我使用 pbuilder 有以下日志:
user@comp:~/PROSTOR/pkg-csp$ sudo pbuilder create --configfile /tmp/lastrc --buildplace /var/cache/pbuilder/alse47-arm64/alse47-arm64.cow --mirror https://dl.astralinux.ru/astra/stable/4.7_arm/repository-main --distribution 4.7_arm --no-targz --extrapackages 'cowdancer pbuilder fakeroot quilt python devscripts eatmydata procps locales cowdancer'
[sudo] password for user:
W: /root/.pbuilderrc does not exist
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_ADDRESS = "en_US.UTF-8",
LC_NAME = "en_US.UTF-8",
LC_MONETARY = "en_US.UTF-8",
LC_PAPER = "en_US.UTF-8",
LC_IDENTIFICATION = "en_US.UTF-8",
LC_TELEPHONE = "en_US.UTF-8",
LC_MEASUREMENT = "en_US.UTF-8",
LC_TIME = "en_US.UTF-8",
LC_NUMERIC = "en_US.UTF-8",
LANG = "ru_RU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("ru_RU.UTF-8").
E: Directory /var/cache/pbuilder/alse47-arm64/alse47-arm64.cow does not exist
这是/tmp/lastrchttps://gist.github.com/iva-nova-e-katerina/46b9e5ae4cbb55a3ec45d5327e22c0b3
我究竟做错了什么?
答案1
--buildplace
需要指向现有目录。您要么需要创建/var/cache/pbuilder/alse47-arm64/alse47-arm64.cow
,要么需要更改--buildplace
为指向其他地方。
因为你的lastrc
包括
BUILDPLACE=/var/cache/pbuilder/alse47-arm64/build
您也可以--buildplace
完全放弃该选项。
alse47-arm64.cow
听起来它应该是一个cowbuilder
目录,您可能想使用它。