Subject: Re: pkg/10835: Package upgrade procedure sucks
To: None <netbsd-bugs@netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 08/16/2000 10:43:14
> > 	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.

I don't really like the leave the install over the top either.  It
screws you too badly for include files where the crap in
/usr/pkg/include had better be deleted before the new pkg compilation
finds the outdated include files and uses them in preference to the
ones in its own tree.

Leaving the old dependencies around in /var/db/pkg/*/+REQUIRED_BY will
go a long way to making my life easier.

-wolfgang
-- 
       Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
Coming soon: GPS mapping tools for Open Systems. http://www.gnomad-mapping.com/