Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651936 - sys-apps/portage: newer portage should block older repoman versions that are incompatible
Summary: sys-apps/portage: newer portage should block older repoman versions that are ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
Depends on: 651804
  Show dependency tree
Reported: 2018-03-29 16:15 UTC by Zac Medico
Modified: 2018-07-16 07:24 UTC (History)
0 users

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-03-29 16:15:50 UTC
I tried using a blocker in the portage-2.3.14 ebuild but then I the blocker here because I experienced an issue where emerge did not resolve the blocker automatically:

I suspect this code in the depgraph _serialize_tasks method may have prevented the blocker from solving, but I have not verified that:

	if node == replacement_portage and \
		# Make sure that portage always has all of it's
		# RDEPENDs installed first.
		return False
Comment 1 Larry the Git Cow gentoo-dev 2018-03-30 03:50:01 UTC
The bug has been referenced in the following commit(s):

commit c5ad40dbe8f74dcdb2b08d42240e217a8ef440e6
Author:     Zac Medico <>
AuthorDate: 2018-03-30 03:35:24 +0000
Commit:     Zac Medico <>
CommitDate: 2018-03-30 03:47:55 +0000

    depgraph._serialize_tasks: resolve portage/repoman blockers (bug 651936)
    When ensuring that all runtime dependencies are installed before
    a new instance of portage, ignore uninstalls. This makes it possible
    to solve a blocker between a new version of portage and an older
    version of repoman, where an uninstall task for the older version
    of repoman appears in the runtime dependencies of the new instance
    of portage.

 pym/_emerge/ | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)}
Comment 2 Zac Medico gentoo-dev 2018-03-30 04:09:43 UTC
The blocker will not solve automatically until people have the next version of portage installed, so we should not add the blocker until the next version of portage has been stabilized.
Comment 3 Zac Medico gentoo-dev 2018-07-16 07:23:01 UTC
The portage-2.3.43 ebuild blocks repoman-2.3.10.
Comment 4 Zac Medico gentoo-dev 2018-07-16 07:24:55 UTC
(In reply to Zac Medico from comment #3)
> The portage-2.3.43 ebuild blocks repoman-2.3.10.

Actually it's less than repoman-2.3.10:

>  !<app-portage/repoman-2.3.10