|
|
man emerge
line 208
--deep (-D)
This flag forces emerge to consider the entire dependency tree
of packages, instead of checking only the immediate dependencies
of the packages. As an example, this catches updates in
libraries that are not directly listed in the dependencies of a
package. Also see --with-bdeps for behavior with respect to
build time dependencies that are not strictly required. (深入 -D )
这个标记强制 emerge 考虑软件包的完整依赖树,以代替只检查软件包的直接依赖。
…… --with-bdeps < y | n >
In dependency calculations, pull in build time dependencies that
are not strictly required. This defaults to 'n' for installation
actions, meaning they will not be installed, and 'y' for the
--depclean action, meaning they will not be removed. This set-
ting can be added to EMERGE_DEFAULT_OPTS (see make.conf(5)) and
later overridden via the command line.
……
对于安装作业,它默认为“ n ”,意味着它们不会被安装,
对于 --depclean 作业,意味着他们不会被移除。
这个设置可以添加到 EMERGE_DEFAULT_OPTS (见 make.conf(5) ),…… ` This flag forces emerge to consider the entire dependency tree of packages, instead of checking only the immediate dependencies of the packages.` 我的理解为“这个标记强制 emerge 考虑软件包的完整依赖树,以代替只检查软件包的直接依赖。”
比方说,假设 A 依赖于 B1 B2,B1 依赖 C1,B2 依赖 C2,安装 A 时,有 -D , 则 emerge 不但检查 A 的依赖,还会检查 Bx 的依赖,甚至是 Cx 的依赖,
没有 -D ,则只检查 A 的依赖?
`For a dependency aware version of --unmerge, use --depclean or --prune.`
`Also see --with-bdeps for behavior with respect to build time dependencies that are not strictly required.` 这两句实在无法理解……
为什么不直接查看 emerge 源码查找答案呢?
1、我对 python 和 bash 一窍不通,一时半会看不慬,也不会去学习 python 和 bash 再来解决这个问题
2、即使已经掌握 python 和 bash 的基础,估计 portage 体系一时半会搞不慬
我很想写个小程序,自动配置 locale,自动安装中文字体和输入法,自动安装 中文 portage / emerge man,快快重排
《编译 2.6.27 内核 for thinkpad R60 + 最新 intel 集成显示驱动 x11-drivers/xf86-video-intel 支持》
可是,我还嫩,所以请各位前辈多多指点,谢谢。 |
|