Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2005 14:02:45 -0500
From:      Tom Moyer <tommoyer@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Possibly OT: ports question/suggestion
Message-ID:  <1486736305020411025c93c2af@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Maybe this is not the best place for this (I'm not really sure) but
would there be a way to setup the ports tree so that when a particular
package is deinstalled that it's dependancies would be deinstalled if
they were only installed becasue of the port in the first place.  For
example Package X depends on Packages A,B, and C.  Package A was
installed because you needed it for whatever reason but B and C were
not.  So I install Package X ( and consequently B and C) and when I
decide to get rid of Package X for whatever reason it "automagically"
knows that B and C were installed due to dependancies and would check
if they were needed by other ports/packages and if not interactively
go through and deinstall them.  Interactively would be that it would
prompt the user prior to deinstallation.

"Would you like to remove Package B, since it was installed as a
dependancy? [y/N]?", etc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1486736305020411025c93c2af>