Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440252 - FEATURE REQUEST - sys-apps/portage -Install only stable packet on gentoo testing (how to mask atomatically all testing releases for specific atom)
Summary: FEATURE REQUEST - sys-apps/portage -Install only stable packet on gentoo test...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-30 11:33 UTC by doom5
Modified: 2012-10-30 15:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
# emerge --info (file_440252.txt,5.11 KB, text/plain)
2012-10-30 11:33 UTC, doom5
Details

Note You need to log in before you can comment on or make changes to this bug.
Description doom5 2012-10-30 11:33:13 UTC
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%"
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-10-30 11:51:58 UTC
what about this method:

  echo "net-misc/tor -~x86 x86" >> /etc/portage/package.accept_keywords

Isn't that exactly what you want?
Comment 2 doom5 2012-10-30 14:22:47 UTC
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!