using new pkgng system on 9.0 system

Fbsd8 fbsd8 at a1poweruser.com
Thu Nov 22 15:42:00 UTC 2012


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 at 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.



More information about the freebsd-questions mailing list