Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9527 - RFE: Dependency unmerging
Summary: RFE: Dependency unmerging
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-22 23:40 UTC by Mike Lieberman
Modified: 2011-10-30 22:36 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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