分类: LINUX
2010-07-18 16:39:32
以app-i18n/ibus-table-wubi-9999为例。
!!! All ebuilds that could satisfy "app-i18n/ibus-table-wubi" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-i18n/ibus-table-wubi-9999 (masked by: missing keyword)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
在手册上的说明如下:
“missing keyword”意味着这个软件还没有在您机器的体系结构中进行过测试。
您可以咨询相应体系结构移植小组是否能对它进行测试,
或者您自己为他们进行这样的测试并将您得到的结论提交到我们的bugzilla网站。
解决思路,修改/etc/portage/package.keywords,强制标记为稳定。
解决方法,将形如
$OPERATOR$APP_NAME-$VERSION $ARCH_KEYWORD
字段添加到/etc/portage/package.keywords。
对应上例为:
=app-i18n/ibus-table-wubi-9999 **
如果您不知道KEYWORDS该如何写,可以先看一下被masked的包的KEYWORD:
less `equery w app-i18n/ibus-table-wubi`
如果看到的是
KEYWORDS=""
则使用“**”作为ARCH_KEYWORD,“**”表示该包没有keyword。
其他的“~x86”之类,照抄即可。
以sys-kernel/gentoo-sources-2.6.33为例。
!!! All ebuilds that could satisfy "=sys-kernel/gentoo-sources-2.6.33" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/gentoo-sources-2.6.33 (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
解决思路,修改/etc/portage/package.unmask,强制标记为稳定。
解决方法,
在/etc/portage/package.unmask里添加
=sys-kernel/gentoo-sources-2.6.33
以dev-java/sun-jre-bin-1.6.0.17为例。
!!! The following installed packages are masked:
- dev-java/sun-jre-bin-1.6.0.17 (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
解决思路,修改/etc/make.conf,降低许可敏感级别。
解决方法,
在/etc/make.conf里追加一行
ACCEPT_LICENSE="*"