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

Bug 378187

Summary: sys-apps/portage-2.1.10.10: emerge --keep-going does not handle unsatisfied dependencies of installed packages
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: enhancement CC: sping
Priority: Normal Keywords: InVCS
Version: 2.1   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 373807, 373933    
Attachments: build log demonstrating this kind of failure

Description Zac Medico gentoo-dev 2011-08-08 08:07:45 UTC
Suppose that package Y depends on a specific version of package X. If you have an upgrade for both packages, and the package X upgrade succeeds but the package Y upgrade fails, it commonly triggers a state in which the installed instance of package Y has an unsatisfied dependency for the previous version of package X. This causes emerge --keep-going to bail out, but we really want it to just prune off the broken part(s) of the dependency graph and keep going.
Comment 1 Zac Medico gentoo-dev 2011-08-08 08:12:58 UTC
Created attachment 282523 [details, diff]
build log demonstrating this kind of failure
Comment 2 Zac Medico gentoo-dev 2011-08-11 03:32:47 UTC
This should fix some similar cases:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=72137f634878c4b0ef54287dd4a33fa2240a68f7

This will fix your particular case only if (app-editors/vim-7.3.189::gentoo, installed) got pulled into the graph indirectly via a satisfied build-time dependency.
Comment 3 Zac Medico gentoo-dev 2011-08-11 03:39:10 UTC
For now, I'll just assume that this is fixed unless we can prove otherwise.
Comment 4 Zac Medico gentoo-dev 2011-08-12 12:59:26 UTC
This is fixed in 2.1.10.11 and 2.2.0_alpha51.
Comment 5 Zac Medico gentoo-dev 2011-08-13 00:36:42 UTC
*** Bug 312467 has been marked as a duplicate of this bug. ***