Date: Mon, 7 Feb 2005 11:05:15 -0500 From: "Matt LaPlante" <laplante@cat.rpi.edu> To: "'Loren M. Lang'" <lorenl@alzatex.com>, "'Michael C. Shultz'" <reso3w83@verizon.net> Cc: freebsd-questions@freebsd.org Subject: RE: Cleaning Out Ports? Message-ID: <200502071605.j17G5Hcp025283@smtp2.server.rpi.edu> In-Reply-To: <20050201114957.GJ8619@alzatex.com>
next in thread | previous in thread | raw e-mail | index | archive | help
That's correct; this type of functionality is exactly what I was searching for. > -----Original Message----- > From: Loren M. Lang [mailto:lorenl@alzatex.com] > Sent: Tuesday, February 01, 2005 6:50 AM > To: Michael C. Shultz > Cc: freebsd-questions@freebsd.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... >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502071605.j17G5Hcp025283>