Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jun 2007 09:54:18 +0200
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        Nikola Lecic <nlecic@EUnet.yu>
Cc:        Jeremie Le Hen <jeremie@le-hen.org>, freebsd-ports@FreeBSD.org
Subject:   Re: Keeping track of automatically installed dependency-only ports
Message-ID:  <20070614075418.GA8093@obiwan.tataz.chchile.org>
In-Reply-To: <200706140714.l5E7EK0U023767@smtpclu-1.eunet.yu>
References:  <20070614070602.GD39533@obiwan.tataz.chchile.org> <200706140714.l5E7EK0U023767@smtpclu-1.eunet.yu>

next in thread | previous in thread | raw e-mail | index | archive | help
Nikola,

Thanks for your reply.

On Thu, Jun 14, 2007 at 09:14:33AM +0200, Nikola Lecic wrote:
> On Thu, 14 Jun 2007 09:06:02 +0200
> Jeremie Le Hen <jeremie@le-hen.org> wrote:
> > Is there a way to track dependency-only ports, so that if I install
> > port0 which requires port1 which in turn requires port2 and so on,
> > deinstalling port0 will deinstall portN up to the first one required
> > by another port or one I explicitely installed.
> 
> Aren't you speaking about 'pkg_deinstall --upward-recursive port0'?

My request ismore subtle, I think.

Consider the following fake port tree:

port1     port2     port3*    port4
  \        /   \      |      /
   \      /     \     |     /
    port12*      \    |    /
                  \   |   /
		   port234*

A trailing * marks a port manually installed.

If I run "pkg_deinstall --upward-recursive port234", this will remove
port234, port3 and port4 (at least I suppose, the manual page doesn't
give the details).  But since I've installed port3 manually it's likely
because I need it for some reason, therefore I don't want it to be
deinstalled.

Best regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >



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