首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >牛仔-更新W:-覆盖-配置没有设置;没有更新apt.conf阅读手册页的详细信息

牛仔-更新W:-覆盖-配置没有设置;没有更新apt.conf阅读手册页的详细信息
EN

Unix & Linux用户
提问于 2018-08-31 18:09:52
回答 1查看 230关注 0票数 2

以下是我的~/.pbuilderrc

代码语言:javascript
复制
$ 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时,我都会收到以下警告-

代码语言:javascript
复制
$ 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.

有人能告诉我--覆盖-配置是关于什么,需要在哪里设置,以及如何设置?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2018-09-01 14:01:07

--override-configpbuilder选项,而不是cowbuilder选项。它指示pbuilder更新基映像中的apt配置。

cowbuilder使用选项运行pbuilder update,这些选项指示它使用不同的镜像和发行版。pbuilder在没有--override-config的情况下运行时会发出警告,因为使用这些选项手动运行的最终用户可能会期望更改是持久的(因为update都是关于更新基本tarball的)。除了无视警告之外,你什么也做不了。

票数 2
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/466090

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档