Subject: Re: Dependencies, including "make update" issues.
To: None <>
From: Dan McMahill <>
List: tech-pkg
Date: 07/05/2005 22:21:31
On Tue, Jul 05, 2005 at 05:20:16PM +0200, Joerg Sonnenberger wrote:
> On Tue, Jul 05, 2005 at 04:03:24PM +0200, Rhialto wrote:
> > On Mon 04 Jul 2005 at 19:16:48 -0500, Richard Rauch wrote:
> > > old problem that has been discussed a year or more ago: Namely, you
> > > install and remove some package, but the dependency packages can linger
> > > around---even when you don't want them.  The desire is to, with little or
> > 
> > How about pkg_delete -R foo ?
> It doesn't remove the dependencies of foo. Let's talk about a real
> example. I'm installing Scribus, which depends on Qt3. For Qt3,
> CUPS is installed because it is activated via the option.
> After a while, I want to update Scribus and have changed the default
> for CUPS to be disabled. Qt is changed in the mean time too and is now
> updated. We have now current versions of Scribus and Qt3-lib, the
> orphant CUPS is still installed.
> Under Debian this is solved by distinguishing between packages the admin
> has choosen and those which are installed to solve dependencies. The latter
> are reference counted and removed when no longer needed.

This last bit is something I've wished for for a long time.  In my case
cad/geda pulls in a handful of packages which together form the geda
suite of tools.  I suspect that 99% of the time you really want all of
those pkgs installed or none of them.  So it would be nice to be able
to pkg_delete geda and have gschem, gnetlist, geda-symbols, etc all be
removed too without going all the way down and removing gtk for example.