> -----Original Message-----
> From: Marc Espie [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 26, 2005 11:31 AM
> To: Will H. Backman
> Cc: [email protected]
> Subject: Re: package installation script hints
> 
> On Fri, Aug 26, 2005 at 09:58:20AM -0400, Will H. Backman wrote:
> 
> > Shouldn't it suggest what packages to update because of a newer
version?
> 
> pkg_add -u doesn't have a notion of `newer version'. It stops at `this
is
> the package whose name most closely matches your existing package'.
> 
> It matches the current model of OpenBSD development, where you point
your
> PKG_PATH at a location that contains all the packages from a given
> release,
> with very few exceptions.
> 
> There is also the fact that the pkgname is not enough to identify the
> package
> completely. Specifically, packages may need to be updated when system
> libraries
> change.
> 
> All of this is known, and registered correctly.
> 
> pkg_add -u was under serious time constraints to get into OpenBSD 3.8.
> It is expected that the next version will be much less wasteful.
> 
> If you prefer, pkg_add -u in 3.8 is not at all perfect.
> 
> But having to figure out all package names for pkg_add -r by hand was
ways
> more cumbersome... ;)

Got it.  I was just looking at the man page, and noticed that it
mentioned this new feature and that it would need testing.  I'm hoping
to test it a lot, but I was unsure of the expected behavior.

Reply via email to