Created attachment 327766 [details] # emerge --info I have a testing gentoo installation (see attached # emerge --info), I would like to merge only a stable releases for specific packet (masking and unmasking by hand from time to time is not a solution). I could not find in portage a method that would allow me to install only the stable releases on a testing installation! Here are some of my tests that have not worked: 1. # cat /etc/portage/env/net-misc/tor ACCEPT_KEYWORDS="x86" # emerge --pretend tor These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-misc/tor-0.2.4.5_alpha [0.2.2.39] USE="bufferevents%* -nat-pmp% -stats% -upnp% -web%" * IMPORTANT: 5 news items need reading for repository 'gentoo'. * Use eselect news to read news items. # eix net-misc/tor [U] net-misc/tor Available versions: 0.2.2.38 0.2.2.39 (~)0.2.3.23_rc (~)0.2.3.24_rc (~)0.2.4.4_alpha (~)0.2.4.5_alpha {{+bufferevents nat-pmp selinux stats threads tor-hardening (+)transparent-proxy upnp web}} Installed versions: 0.2.2.39(20:22:20 29/10/2012)(threads tor-hardening transparent-proxy -selinux) Homepage: http://www.torproject.org/ Description: Anonymizing overlay network for TCP 2. # cat /etc/portage/env/stable.conf ACCEPT_KEYWORDS="x86" # cat /etc/portage/package.env net-misc/tor stable.conf # emerge --pretend tor These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-misc/tor-0.2.4.5_alpha [0.2.2.39] USE="bufferevents%* -nat-pmp% -stats% -upnp% -web%" 3. # ACCEPT_KEYWORDS="x86" emerge --pretend tor These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-misc/tor-0.2.4.5_alpha [0.2.2.39] USE="bufferevents%* -nat-pmp% -stats% -upnp% -web%"
what about this method: echo "net-misc/tor -~x86 x86" >> /etc/portage/package.accept_keywords Isn't that exactly what you want?
Exactly what I wanted! I did not know the possibility of using the operator - with the keywords. Probably the documentation which is located around about the keywords is lacking or blurred by an excess of redundant information!