Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587154 - sys-apps/portage - "emerge --exclude" should support repository selector
Summary: sys-apps/portage - "emerge --exclude" should support repository selector
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-26 14:35 UTC by jospezial
Modified: 2021-09-25 07:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2016-06-26 14:35:52 UTC
emerge -uvatD @world --newuse --with-bdeps=y --exclude firefox-bin::overlay_jl

emerge: error: Invalid Atom(s) in --exclude parameter: 'firefox-bin::overlay_jl' (only package names and slot atoms (with wildcards) allowed)
Comment 1 Zac Medico gentoo-dev 2016-07-01 07:50:28 UTC
The rationale for the --exclude atom limitations is that we want to encourage people to use package.mask. Why don't use mask the package in /etc/portage/package.mask?
Comment 2 Alexander Berntsen (RETIRED) gentoo-dev 2016-07-01 10:31:24 UTC
I don't think that supporting repos is a too bad idea.

Personally, I've never really liked "exclude", and think we should either make it properly useful, or just get rid of it and tell people to use package.mask.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-07-01 10:35:15 UTC
Well, I see --exclude as easy 'please do not update/rebuild this right now'.
Comment 4 Alexander Berntsen (RETIRED) gentoo-dev 2016-07-01 10:41:43 UTC
I'm sure some people find it useful. My point was that if we're going to have it, making it not suck isn't a bad idea.
Comment 5 jospezial 2020-10-20 10:35:54 UTC
Any plans for this?
I still would like to use it.
The exclude option is perfect for fast temporary and testing decisions.

I can forget about an entry in package.mask for a long time.
If I want it permanent I mask it.
Comment 6 Alireza 2021-09-25 07:42:38 UTC
Can we have this for version and revision please? It's a lot easier than masking packages in a file, because one can forget they have masked a specific version of a package and miss the security updates.