Subject: Re: should "make update" check for new version first?
To: Roman Kennke <roman@cognition.uni-freiburg.de>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: tech-pkg
Date: 10/18/2004 16:47:36
On Mon, Oct 18, 2004 at 16:35:49 +0200, Roman Kennke wrote:

> I wonder what is the problem with changing the order in
> which things are done. At the moment it seems: 1. delete
> all to-be-upgraded packages, 2. fetch distfiles, 3. build,
> 4. reinstall packages or similar. This could be changed to:
> 1. fetch fistfiles and build, 2. deinstall package 3.
> reinstall new package. Or am I missing something here? At
> least this would help alot.

I would do this check first:
0. does this package have a new version?

1. fetch distfiles
sounds like a good idea.

I think the conclusion about "build, 2. deinstall" was that this
is only possible for the "leaf" package, not for dependancies.

> Another 'solution' comes to mind, a helper tool similar to
> portupgrade in FreeBSD.

I have heard horror stories about that one too.

	rvdp