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

Bug 608564

Summary: sys-apps/portage: add emerge --ignore-world option to disregard @world when solving dependencies
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 651804    

Description Zac Medico gentoo-dev 2017-02-07 20:07:52 UTC
In some situations, it is permissible to break dependencies of installed packages. For example, consider a temporary/disposable container running in a continuous integration environment, where there is no thread of negative consequences. In situations like this, it's useful to have an option to disregard @world/@system/@selected, in order to avoid conflicts when solving dependencies for packages given as emerge arguments (possibly resulting in a serious system breakage).
Comment 2 Larry the Git Cow gentoo-dev 2018-03-26 17:39:18 UTC
The bug has been referenced in the following commit(s):

commit 6a810e0cdb586fb05f210a1c7ba2b5401f38c332
Author:     Zac Medico <>
AuthorDate: 2018-03-21 18:50:43 +0000
Commit:     Zac Medico <>
CommitDate: 2018-03-26 17:35:33 +0000

    emerge: add --ignore-world [ y | n ] option (bug 608564)
    Ignore the @world package set and its dependencies. This may be useful
    if there is a desire to perform an action even though it might break
    the dependencies of some installed packages (it might also remove
    installed packages in order to solve blockers). This also alters the
    behavior of --complete-graph options so that only deep dependencies
    of packages given as arguments are included in the dependency graph.
    This option may be useful as an alternative to --nodeps in cases where
    it is desirable to account for dependencies of packages given as

 man/emerge.1                                      | 19 ++++++++++++++++++-
 pym/_emerge/             |  6 +++++-
 pym/_emerge/                           |  8 ++++++--
 pym/_emerge/                               | 11 ++++++++++-
 pym/portage/tests/resolver/ | 20 +++++++++++++++++++-
 5 files changed, 58 insertions(+), 6 deletions(-)}
Comment 3 Zac Medico gentoo-dev 2018-07-02 18:40:02 UTC
Fixed in portage-2.3.40-r1.