I am really not understanding how to upgrade to the new port (package?) management system. I am missing something fundamental about the new structure. I've done a fair amount of reading, and it all makes sense in context, but most articles are not comparative, so I'm missing the boat somewhere.
In the old system I'd do a
and that would get me an updated port. I could do an -r and an -R if necessary, but let's keep it simple.
I ass/u/me that now I do the same portsnaps, but then what?
Example:
So...what's the trick? I installed pkg, added WITH_PKGNG=yes to /etc/make.conf, ran
I can go into the port directory and do a successful
Is what I'm doing supposed to Just Work? What's the analog for
Sorry for the cluelessness...
In the old system I'd do a
Code:
# portsnap fetch
# portsnap update
# portupgrade <portname>
I ass/u/me that now I do the same portsnaps, but then what?
Example:
Code:
# pkg install tgif
Updating repository catalogue
pkg: No packages matching 'tgif' available in the repositories
# pkg add tgif
pkg: tgif: No such file or directory
pkg: Was 'pkg install tgif' meant?
Failed to install the following 1 package(s): tgif
So...what's the trick? I installed pkg, added WITH_PKGNG=yes to /etc/make.conf, ran
pkg2ng
...a few times actually, but the last time it seemed to be pretty happy.I can go into the port directory and do a successful
make install
, but will that keep the database happy?Is what I'm doing supposed to Just Work? What's the analog for
portupgrade [i]portname[/i]
supposed to be?Sorry for the cluelessness...