Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643974 - sys-apps/portage: || ( foo <bar-10 ) prevents upgrade of bar
Summary: sys-apps/portage: || ( foo <bar-10 ) prevents upgrade of bar
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 155723 645194
  Show dependency tree
Reported: 2018-01-09 01:45 UTC by Zac Medico
Modified: 2018-06-03 16:45 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2018-01-09 01:45:54 UTC
The fix for bug 635540 prevents downgrades, but upgrades still to do not work correctly.
Comment 2 Larry the Git Cow gentoo-dev 2018-01-11 19:24:16 UTC
The bug has been referenced in the following commit(s):

commit 86ba22da7a2f34848cdb5a6f1090c22c264e577e
Author:     Zac Medico <>
AuthorDate: 2018-01-09 03:34:22 +0000
Commit:     Zac Medico <>
CommitDate: 2018-01-11 19:23:34 +0000

    dep_zapdeps: install new package, allow upgrade (bug 643974)
    Prefer to install a new package in order to allow upgrade of an
    installed package. This generalizes the code from bug 635540 so
    that it both allows desirable upgrades and prevents unwanted
    Fixes: 7c58e3737616 ("dep_zapdeps: install new package, avoid downgrade (bug 635540)")
    Reviewed-by: Alec Warner <>

 pym/portage/dep/                       |  11 +--
 .../tests/resolver/    | 101 +++++++++++++++++++++
 2 files changed, 106 insertions(+), 6 deletions(-)}