how to update ports while using pkgng?

Chuck Burns break19 at gmail.com
Sun Sep 16 18:52:41 UTC 2012


On Sun, Sep 16, 2012 at 12:42 PM, Sergey V. Dyatko
<sergey.dyatko at gmail.com> wrote:
> On Sat, 15 Sep 2012 08:48:09 -0300
> Marcelo Gondim <gondim at bsdinfo.com.br> wrote:
>
>> Em 15/09/2012 01:41, Mike Manilone escreveu:
>> > Hi,
>> >
>> > I'm using ports with pkgng enabled. But I found that portmaster
>> > won't work. Is there any way to update ports? Thanks!
>>
>> Hi,
>>
>> I use "portsnap fetch update" and "portmaster" to update my ports.
>>
>
> with pkgng ? :/
>

That is akin to asking "How do I start my boat with my car keys?"
Ports and packages are NOT the same thing.

Ports are compiled from source. Packages are precompiled.

Pkgng is for packages. not ports.  Once the port is compiled, the
ports system uses whatever pkg manager you've chosen, to install it.

However, portmaster doesn't -just- use the ports system. It also tries
to pre-determine the dependencies, which is why it needs be
pkgng-aware.

Chuck


More information about the freebsd-stable mailing list