Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Nov 2009 23:31:53 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        Michel Talon <talon@lpthe.jussieu.fr>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Portmaster with package support ready for beta testing
Message-ID:  <4AF7C569.4090005@FreeBSD.org>
In-Reply-To: <20091108223634.GA89295@lpthe.jussieu.fr>
References:  <20091108223634.GA89295@lpthe.jussieu.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Michel Talon wrote:
> Miroslav Lachman wrote:
>> I take a quick look at the code and I have one question. Can you explain 
>> way --no-deps and --force are used for pkg_add?
> 
> 
> I can only venture an explanation. Once you have computed a good order
> for upgrading via packages, you cannot accept that pkg_add ruins your
> computation by doing things on its own. In principle you have a
> global view of the problem, which is better than the local view embedded
> in each package. Hence forcing pkg_add is the only sane way.

Very elegantly stated. :)

This is all subject to change of course based on refinement from
experience, but this usage matches the way that ports are installed in
the well-traveled port building code.


Doug

-- 

	Improve the effectiveness of your Internet presence with
	a domain name makeover!    http://SupersetSolutions.com/




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