Portmaster/Portupgrade | pkg2ng

Jim Trigg jtrigg at spamcop.net
Wed Oct 17 13:18:50 UTC 2012


On Tue, Oct 16, 2012 at 06:51:59PM -0500, Bryan Drewery wrote:
> On 10/16/2012 4:11 PM, Jos Chrispijn wrote:
> > Somewhat lost here; just read UPDATING in which is reported about an
> > additional function support of pkgng by portupgrade and portmaster:
> > 
> > PORTMASTER
> >   # make -C /usr/ports/ports-mgmt/portmaster config build deinstall
> > install clean
> >   # echo 'WITH_PKGNG=yes' >> /etc/make.conf
> >   # pkg2ng*
> > 
> > PORTUPGRADE
> >   # echo 'WITH_PKGNG=yes' >> /etc/make.conf
> >   # pkg2ng*
> >   # pkgdb -fu
> > 
> > The only issue I have is that this pkg2ng command doesn't work as this
> > program* cannot be found so the command returns with a 'pkg2ng: Command
> > not found.'
> > Can someone tell me what I miss here?
> 
> make -C /usr/ports/ports-mgmt/pkg install clean
> 
> Sorry for the confusion. I will add that in.

I think what's needed for portmaster is an explicit mention that the
PKGNGPATCH option needs to be selected.  That will cause pkg to be
installed automatically, and installing it manually just increases the
risk that portmaster won't have been built correctly to support it.

Jim


More information about the freebsd-ports mailing list