Date: Sun, 12 Dec 2004 21:27:21 -0500 From: Paul Mather <paul@gromit.dlib.vt.edu> To: Brett Glass <brett@lariat.org> Cc: freebsd-questions@freebsd.org Subject: Re: Un-GNOME-ing a FreeBSD box Message-ID: <1102904841.617.20.camel@zappa.Chelsea-Ct.Org> In-Reply-To: <6.2.0.14.2.20041212161313.05f38da0@localhost> References: <20041212120049.9ABA516A583@hub.freebsd.org> <1102874180.8276.26.camel@zappa.Chelsea-Ct.Org> <6.2.0.14.2.20041212161313.05f38da0@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2004-12-12 at 16:14 -0700, Brett Glass wrote: > At 10:56 AM 12/12/2004, Paul Mather wrote: > > >On Sat, 11 Dec 2004 18:54:18 -0700, Brett Glass <brett@lariat.org> > >wrote: > > > >> Again, I really find it hard to believe that there would be no > >> provision > >> for deleting a port AND the ports on which it depends cleanly. I tend > >> to use a minimal number of ports and packages, and so didn't realize > >> that this was such a difficult thing until now. > > > >The problem with deleting a port and the ports on which it depends > >cleanly is that there may be other ports depending on a dependency. So, > >there needs to be some arbitration to decide what legitimately should go > >and which should stay. > > What's needed is a way of doing "garbage collection" -- reference counts > plus a way of resolving circular dependencies (which reference counts > can't handle). That would be okay for ports you explicitly installed, but not, I think, for ones that were installed as dependencies that you nevertheless wish to keep (i.e., that you would have explicitly installed, too, but couldn't because they were already installed). So, there still needs to be some way of arbitrating what you want to retain, akin to /usr/local/etc/pkg_leaves.exclude, or similar. As for resolving circular dependencies, I can't think of a legitimate case where they would arise. They can't, by definition: the ports dependencies form a directed acyclic graph (DAG), right? Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1102904841.617.20.camel>