If memory serves me right, Nik Clayton wrote:
> On Wed, Feb 07, 2001 at 08:23:35PM -0600, Michael C . Wu wrote:
> > On Thu, Feb 08, 2001 at 01:56:11AM +0100, Leif Neland scribbled:
> > | It seems pkg_update is only usable when installing from packages, not fro
> m
> > | ports.
> > 
> > Because it is a package update system.  If you want to update
> > from the ports, use 'pkg_version -c |sh'
> 
> Never, ever, *ever* do this.
> 
> "pkg_version -c" is a hack to make cut-n-paste easier.  The output is
> sorted alphabetically and no notice is taken of dependencies between
> different ports.

Plus it's been known to wipe out Ports Upgrade kits.  This was 
particularly bad when some upgrade kits replaced little non-essentials 
like ld*.so, things like that.

I just put a big fat warning to this effect followed by "exit 1" at the
start of the commands output, and committed to -CURRENT.  I'll MFC early
next week.

Bruce.



PGP signature

Reply via email to