Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2012 10:42:03 -0500
From:      Fbsd8 <fbsd8@a1poweruser.com>
To:        Bas Smeelen <b.smeelen@ose.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: using new pkgng system on 9.0 system
Message-ID:  <50AE47CB.4000907@a1poweruser.com>
In-Reply-To: <50AE4211.9020108@ose.nl>
References:  <50AE3BF5.1000200@a1poweruser.com> <50AE3C65.2050307@ose.nl> <50AE4150.1050002@a1poweruser.com> <50AE4211.9020108@ose.nl>

index | next in thread | previous in thread | raw e-mail

Bas Smeelen wrote:
> On 11/22/2012 04:14 PM, Fbsd8 wrote:
>> Bas Smeelen wrote:
>>> On 11/22/2012 03:51 PM, Fbsd8 wrote:
>>>> Since pkg is being replaced by pkgng in Release 10.0 I would like to get 
>>>> head start by playing with it on my 9.0 system.
>>>>
>>>> Where can I find a write up about installing and using pkgng?
>>>>
>>>> Have all the pkg packages been converted to pkgng format and are they 
>>>> being kept up to date?
>>> Hi
>>>
>>> It's in /usr/ports/UPDATING
>>>
>>> 20121015:
>>>    AFFECTS: users of ports-mgmt/portmaster
>>>    AUTHOR: bdrewery@FreeBSD.org
>>>
>>>    Portmaster now supports pkgng. To use pkgng, enable the patch in the 
>>> port,
>>>    enable pkgng in your make.conf, and convert your existing /var/db/pkg
>>>    database. Also see UPDATING entry 20121010 if you are on a recent CURRENT
>>>    and do not want to use pkg.
>>>
>>>    This is optional and not currently required.
>>>
>>>    # make -C /usr/ports/ports-mgmt/pkg install clean
>>>    # make -C /usr/ports/ports-mgmt/portmaster config build deinstall 
>>> install clean
>>>    # echo 'WITH_PKGNG=yes' >> /etc/make.conf and
>>>    # pkg2ng
>>>
>>>
>>>
>> Thanks, but your reply does not answer my question. I did not say anything 
>> about using portmaster.
>>
>> I want to use pkgng in native mode.
>> I don't see pkgng in the ports system.
>> How do I get pkgng loaded to a 9.0 system?
> 
> That would be make -C /usr/ports/ports-mgmt/pkg install clean
> and WITH_PKGNG=yes in /etc/make.conf
> and convert the old pkgdb to ng with pkg2ng
> 
> 
> Sorry I awlays use ports so maybe there is a config thing to be done also to 
> find the right sites to get the packages from
> 
> 

I see the problem. It's called pkgng but in the ports system it's called 
pkg. Thought pkg was the old system. Silly me.



home | help

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