[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cleaning Out Ports?



That's correct; this type of functionality is exactly what I was searching
for.


> -----Original Message-----
> From: Loren M. Lang [mailto:lorenl_(_at_)_alzatex_(_dot_)_com]
> Sent: Tuesday, February 01, 2005 6:50 AM
> To: Michael C. Shultz
> Cc: freebsd-questions_(_at_)_freebsd_(_dot_)_org; Matt LaPlante
> Subject: Re: Cleaning Out Ports?
> 
> 
> There's still one missing part to it that gentoo's portage has.  In
> addition to the standard database of installed packages, emerge keeps
> track
> of every single package that you explicitly installed in a file called
> world.  Upgrades read this file and update all the packages listed,
> including there dependencies first.  Now if a package that was installed
> to satisfy a dependency, but not explicitly installed is now longer
> needed, it will stay on the system until the next time emerge --depclean
> is run.  --depclean tells emerge to remove any packages that are not in
> the world file and are not needed to satify dependencies for packages in
> the world file, either directly or indirectly.  I think this is the
> behavior that the original poster was asking for.  AFAIK, this is not
> yet possible in FreeBSD, but it should be a trivial matter to add
> something like a world file to portupgrade.  Maybe, if I have time this
> week I could work on a patch...
> 
 


Visit your host, monkey.org