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

Bug 9527

Summary: RFE: Dependency unmerging
Product: Portage Development Reporter: Mike Lieberman <mdlieberman>
Component: CoreAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: normal CC: h3y
Priority: High    
Version: 2.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mike Lieberman 2002-10-22 23:40:32 UTC
It would be extremely cool if there were an emerge option to remove the
dependencies of a package you are in the process of unmerging, on the condition
that those dependencies are not dependencies for another installed package.  For
example, if I were to "emerge links," dependencies such as libtiff and svgalib
would be installed.  However, if later I decided to unmerge links, libtiff and
svgalib, which possibly were only used for links, would unnecessarily remain on
the system, wasting space.
  Exactly how this feature might be implemented, I am not sure.  Perhaps a
system of "levels" in which the packages specified to be merged on the command
line would have higher priority than those that were installed as dependencies?
 i.e. emerge links would merge links and its dependencies, but links would have
a higher "weight" than its dependencies as it was the specified package to
install.  When it comes time to remove unnecessary dependencies, those packages
with lower weight, i.e. libtiff and svgalib, would be removed, but those with a
higher weight would be kept.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2002-10-23 10:37:35 UTC
emerge depclean
portage >=2.0.41