公告

Gentoo交流群:87709706 欢迎您的加入

#1 2023-01-28 20:32:53

batsom
管理团队
注册时间: 2022-08-03
帖子: 594
个人网站

bochs安装报错

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "bochs" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-emulation/bochs-9999::gentoo (masked by: missing keyword)
- app-emulation/bochs-2.7::gentoo (masked by: ~amd64 keyword)
- app-emulation/bochs-2.6.10::gentoo (masked by: ~amd64 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

离线

#2 2023-01-29 00:08:01

batsom
管理团队
注册时间: 2022-08-03
帖子: 594
个人网站

Re: bochs安装报错

Gentoo下常见masked解决方法小结


    masked by: missing keyword
    masked by: package.mask
    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 ( ago)

离线

页脚

Powered by FluxBB

本站由XREA提供空间支持