Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 232924

Summary: portage should dump a list of valid sets if an invalid one is specified
Product: Portage Development Reporter: Andrew Gaffney (RETIRED) <agaffney>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: InVCS
Priority: High    
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 210077    

Description Andrew Gaffney (RETIRED) gentoo-dev 2008-07-25 14:12:55 UTC
Currently, there's no way for portage to spit out a list of valid sets. With pkgcore, if you specify an invalid set on the commandline, it will tell you what the valid ones are:

kirara ~ # pmerge -p -s foo
No set called 'foo'!
known sets: ['glsa', 'installed', 'versioned-installed', 'system', 'world', 'vuln']

Can we get this same functionality for portage?
Comment 1 Zac Medico gentoo-dev 2008-07-26 07:57:42 UTC
Here's how it looks now:

# emerge @foo
emerge: There are no sets to satisfy 'foo'. The following sets exist:

    installed
    preserved-rebuild
    security
    system
    world
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-26 16:01:23 UTC
Perfect...you rock! :P
Comment 3 Zac Medico gentoo-dev 2008-07-28 10:42:10 UTC
This is fixed in 2.2_rc4.