Do I want to switch to the new pkg(8) format?

Warren Block wblock at
Sat Dec 27 00:35:16 UTC 2014

On Fri, 26 Dec 2014, Chris Stankevitz wrote:

> On Fri, Dec 26, 2014 at 3:35 PM, Warren Block <wblock at> wrote:
>>> How do I use pkg to upgrade all of my ports?  I think you said "use
>>> pkg for all package management operations"
>> I'm fairly sure I did not say that. :)
> Early in this thread you said "No, both binary packages and ports
> require pkg now.  It is the only supported package management tool,
> and installing ports *is* installing packages." -- that is what got me
> going but apparently I misunderstood.

To clarify: the old package management system (pkg_* commands) is no 
longer supported.  Whether you install from ports or binary packages, 
pkg is now required.  Or rather, the old pkg_* commands and database are 
no longer supported and do not work with the current version of the 
ports tree.

Something I've been meaning to do was a sort of mini-FAQ on pkg.  It 
might help here:

(Thanks to robak on IRC for suggestions!)

More information about the freebsd-questions mailing list