portmaster not updating ports with new pkg

Warren Block wblock at wonkity.com
Mon Feb 17 21:46:04 UTC 2014


On Mon, 17 Feb 2014, Antonio Olivares wrote:

> On Mon, Feb 17, 2014 at 2:25 PM, Warren Block <wblock at wonkity.com> wrote:
>> On Mon, 17 Feb 2014, Antonio Olivares wrote:
>>
>>>> portmaster works for me the same as it always did.  Did you add
>>>> WITH_PKGNG=yes to make.conf?
>>>
>>>
>>> Isn't this done automagically?
>>
>>
>> No.
>>
>>
>>> How do I do this?  with ee as root?
>>
>>
>> That will work, yes.
>
> Now it appears to be churning :)

Hopefully you ran pkg2ng at some point.

> Thank you both Mario & Warren for your help.  I get the warning that
>
> PACKAGESITE in pkg.conf is deprecated. Please create a repository
> configuration file
>
> But a site
>
> http://networkedblogs.com/RurUw
>
> states add the followng:
>
> cp /usr/local/etc/pkg.conf.sample /usr/local/etc/pkg.conf

Those instructions also involve portupgrade, which is not necessary when 
using portmaster.

I just delete the config file, it is not needed unless you want to 
download binary packages anyway.

> I shall try this advice and see if the warning goes away.
>
> On 8.4-RELEASE is it advised to move to pkgng?  It will be EOL'd when?
> I have moved to pkgng on 9.2 machines, but for 8.4 it may not be
> plausible?

There is only one ports tree.  When the old package database goes away 
in August, pkg(8) will be the thing to use on any supported version of 
FreeBSD.


More information about the freebsd-questions mailing list