Gentoo下常见masked解决方法小结

  1. masked by: missing keyword
  2. masked by: package.mask
  3. masked by: xxx license(s)

masked by: missing keyword

以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”之类,照抄即可。

masked by: package.mask

以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

masked by: xxx license(s)

以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="*"
Last modified by anonymous on 04/03/2010 10:27:28 AM ( 1 second ago)

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值