Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2012 09:18:49 -0400
From:      Jim Trigg <jtrigg@spamcop.net>
To:        Bryan Drewery <bdrewery@freebsd.org>
Cc:        Jos Chrispijn <kernel@webrz.net>, freebsd-ports@freebsd.org
Subject:   Re: Portmaster/Portupgrade | pkg2ng
Message-ID:  <20121017131849.GI75370@spamcop.net>
In-Reply-To: <507DF31F.4030706@FreeBSD.org>
References:  <507DCD7E.3080108@webrz.net> <507DF31F.4030706@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121017131849.GI75370>