以下是我的~/.pbuilderrc
$ cat .pbuilderrc
BASEPATH="/var/cache/pbuilder/sid-amd64/base.cow"
DISTRIBUTION="sid"
MIRRORSITE="http://deb.debian.org/debian/"
# Enable build log
PKGNAME_LOGFILE="yes"每当我运行sudo cowbuilder --update时,我都会收到以下警告-
$ sudo cowbuilder --update
I: Copying COW directory
I: forking: rm -rf /var/cache/pbuilder/build/cow.8567
I: forking: cp -al /var/cache/pbuilder/sid-amd64/base.cow /var/cache/pbuilder/build/cow.8567
I: unlink for ilistfile /var/cache/pbuilder/build/cow.8567/.ilist failed, it didn't exist?
I: Invoking pbuilder
I: forking: pbuilder update --buildplace /var/cache/pbuilder/build/cow.8567 --mirror http://deb.debian.org/debian/ --distribution sid --no-targz --internal-chrootexec 'chroot /var/cache/pbuilder/build/cow.8567 cow-shell'
I: Running in no-targz mode
I: Current time: Fri Aug 31 23:18:47 IST 2018
I: pbuilder-time-stamp: 1535737727
I: copying local configuration
W: --override-config is not set; not updating apt.conf Read the manpage for details.有人能告诉我--覆盖-配置是关于什么,需要在哪里设置,以及如何设置?
发布于 2018-09-01 14:01:07
--override-config是pbuilder选项,而不是cowbuilder选项。它指示pbuilder更新基映像中的apt配置。
cowbuilder使用选项运行pbuilder update,这些选项指示它使用不同的镜像和发行版。pbuilder在没有--override-config的情况下运行时会发出警告,因为使用这些选项手动运行的最终用户可能会期望更改是持久的(因为update都是关于更新基本tarball的)。除了无视警告之外,你什么也做不了。
https://unix.stackexchange.com/questions/466090
复制相似问题