Subject: pkg_add dumb questions
To: None <port-macppc@netbsd.org>
From: Donald Lee <MacPPC@caution.icompute.com>
List: port-macppc
Date: 04/04/2004 21:10:00
I was trying to upgrade some of the packages on my server today.
In particular, I wanted to upgrade perl from 5.6.x to 5.8.3.

I tried to read the docs and tried to install and use the pkgsrc/tools,
but ran into what appears to be an insistance that to use the
tools, I have to have the pkgsrc _source_ installed.

When I tried to upgrade perl, by simply doing "pkg_add perl-5.8.1.tgz",
pkg_add complained that the older perl was already installed.  While
there is documented advice on upgrading from pkgsrc  (re-building packages)
there is nothing I could find that would simply upgrade perl for me
(like "pkg_update perl-5.8.1.tgz")

Is this as it should be, or am I missing something?  Is the package
system heavily dependent on having the pkgsrc "build" available?
Do I have to pkg_del everything and then pkg_add it to upgrade?

Inquiring, and possibly foolish, mind want to know.

Thanks,

-dgl-