Code listing 35 in the Handbook part 2 chapter 2 recommends: Code Listing 35: Temporarily accepting ~ARCH packages # ACCEPT_KEYWORDS="~x86" emerge gnumeric This is a *very* bad idea. It should be updated to talk about /etc/portage/package.keywords instead. Reasons to avoid ACCEPT_KEYWORDS on the commandline: * It encourages people to use -U. -U is a bad idea because a) it avoids forced downgrades and b) it breaks SLOTs * It breaks depclean * It will pull in ~arch packages to satisfy dependencies when they're not necessary * Various other things too, ask roger55
I don't think this should be avoided. ACCEPT_KEYWORDS is somehow important to advanced users; however, a <note> with brief explaination should be added to inform readers.
No no. Everyone should be using package.keywords. There're a few rare cases where developers might want to do ACCEPT_KEYWORDS on the commandline, but developers already know that. We *definitely* shouldn't be giving this kind of advice in a document which is aimed at end users who don't know portage internals.
I see.. I haven't tried /etc/portage/package.keywords. is the substitution should look similar like the following? echo "app-office/gnumeric ~x86" >> /etc/portage/package.keywords
yup. man portage.
Taking bug on Benny's request
Fixed. Thanks for reporting.
The emerge manpage also condones this useage of ACCEPT_KEYWORDS on the commandline, in the KEYWORDS section with: To inform emerge that it should build these 'testing' versions of packages, you may set ACCEPT_KEYWORDS to "~arch", where arch is one of: x86 ppc sparc mips alpha arm hppa. For example, ACCEPT_KEYWORDS="~x86" emerge xfree Perhaps it would be better to refer to the package.keywords documentation instead.
man page updated in cvs
*** Bug 83517 has been marked as a duplicate of this bug. ***