为什么 pbuilder 找不到目录?

为什么 pbuilder 找不到目录?

我使用 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目录,您可能想使用它。

相关内容