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

Bug 338000

Summary: --depclean is satisfied with masked ruby:1.9 whilst merge is not
Product: Portage Development Reporter: Michał Górny <mgorny>
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-19 08:19:32 UTC
I've got a single packages RDEPENDing on dev-lang/ruby (without SLOT specification), and ruby:1.9 installed (which was masked afterwards).

When running 'emerge -uD @world', it insists that ruby:1.8 needs to be installed for the particular ruby package dependency to be fulfilled. However, afterwards 'emerge --depclean' insists on removing ruby:1.8.

I guess portage should be consistent in dependency graph calculations, and either do not remove any of the ruby versions at all or remove masked :1.9.
Comment 1 Zac Medico gentoo-dev 2010-09-19 08:24:04 UTC
This is very similar to bug 332719. Is it producible with latest portage?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-19 09:02:38 UTC
With today's it is indeed not. Sorry for the noise then.

*** This bug has been marked as a duplicate of bug 332719 ***