Subject: Re: pkg/10835: Package upgrade procedure sucks
To: None <thorpej@shagadelic.org>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-bugs
Date: 08/16/2000 18:07:34
In article <20000815030356.C74794CCE@yeah-baby.shagadelic.org>,
>        Instead, we should:
>
>               (1) Install new files over the old.

There are numerous cases were this fail horribly because a sub package
update requires a recompilation.

	thorpej@shagadelic.org writes:
> 	Special care should be taken for (2) -- the PLIST should
> 	be able to specify "leave installed on upgrade", and a
> 	package should be able to be labeled as "upgraded" if
> 	these special PLIST entries exist, so that e.g. libfoo.1
> 	and libfoo.2 can be present on the system at the same time.

This not maintainable because it creates unpredictable behaviour of
packages depending on their upgrade path.

	Kind regards

-- 
Matthias Scheler                            http://www.sighardstrasse.de/~tron/