Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: It comes problem when emerge fcitx
Date: Wed, 18 Apr 2012 20:06:05
Message-Id: jmn6nc$d8t$1@dough.gmane.org
In Reply to: [gentoo-user]It comes problem when emerge fcitx by "赵佳晖"
1 On 04/18/2012 07:00 AM, ÕÔ¼ÑêÍ wrote:
2 > Hello everyone, i just want to install the fcitx in gentoo , but when i emerge fcitx , it comes the problem, the message are bleow:
3 >
4 > * IMPORTANT: 6 news items need reading for repository 'gentoo'.
5 > * Use eselect news to read news items.
6 >
7 >
8 > These are the packages that would be merged, in order:
9 >
10 > Calculating dependencies... done!
11 > [ebuild N ~] app-i18n/fcitx-4.2.1 USE="cairo dbus gtk pango -debug -gtk3 -opencc -qt -table" 557 kB
12 >
13 > Total: 1 package (1 new), Size of downloads: 557 kB
14 >
15 > The following keyword changes are necessary to proceed:
16 > #required by fcitx (argument)
17 =app-i18n/fcitx-4.2.1 ~x86 <----- This is error message
18
19 Portage is telling you to change the KEYWORD for the fcitx package before it
20 will agree to proceed with the installation. This is very confusing and
21 easy to miss, unfortunately.
22
23 The reason for KEYWORD change is this:
24
25 #grep KEY /usr/portage/app-i18n/fcitx/*
26 /usr/portage/app-i18n/fcitx/fcitx-3.6.3.ebuild:KEYWORDS="~amd64 ~ppc ~x86"
27 /usr/portage/app-i18n/fcitx/fcitx-3.6.4.ebuild:KEYWORDS="~amd64 ~ppc ~x86"
28 /usr/portage/app-i18n/fcitx/fcitx-4.0.0.ebuild:KEYWORDS="~amd64 ~ppc ~x86"
29 /usr/portage/app-i18n/fcitx/fcitx-4.0.1.ebuild:KEYWORDS="~amd64 ~ppc ~x86"
30 /usr/portage/app-i18n/fcitx/fcitx-4.2.0-r2.ebuild:KEYWORDS="~amd64 ~x86"
31 /usr/portage/app-i18n/fcitx/fcitx-4.2.1.ebuild:KEYWORDS="amd64 ~x86"
32
33 You can see from the above that there is no stable (x86) package for fcitx, so
34 if you want to install it you must add it to /etc/portage/package.keywords
35 like this:
36
37 #cat /etc/portage/package.keywords
38 app-i18n/xcitx ~x86 <---------
39 app-office/libreoffice -~amd64
40 dev-libs/icu -~amd64
41
42 The minus sign in front of ~amd64 means that I want the stable (amd64) version
43 of libreoffice and icu, not the unstable (~amd64) version. You want the opposite,
44 so don't add the minus sign for xcitx :)