Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2008 23:24:28 +0200
From:      Michel Talon <talon@lpthe.jussieu.fr>
To:        freebsd-ports@freebsd.org
Subject:   Re: Call for comments - pkg_trans
Message-ID:  <20080731212428.GA2712@lpthe.jussieu.fr>

next in thread | raw e-mail | index | archive | help
Doug Barton wrote:

> BTW, I thought of another problem scenario. The user installs port M, 
> and it brings dependencies D1, D2, and D3. Then the user installs port 
> N which also has port D2 as a dependency.

Then D2 becomes available for deletion only after M and N have been
deleted or no more require it. I don't see a big problem here.
Perhaps it is however a problem for the notion of transaction, since
a group of ports flagged for deletion by a transaction cannot be
entirely removed after some time when part of it is needed by other 
ports. This means one needs to keep a very complete and detailed data
basis of the operations, of course. By the way, on the course of time,
ports belonging on a transaction are upgraded, may change name
(according to the MOVED file) so one also have to continually update
this information in the data basis. 

-- 

Michel TALON




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