PKGNG overview, status and FAQ
bdrewery at FreeBSD.org
Mon Dec 10 04:30:10 UTC 2012
I've seen some confusion on what pkgng is and what the current status of
it is, so I decided to writeup a small explanation.
PKGNG is a replacement for pkg_add/pkg_install. Before pkgng came along,
ports already used pkg_install and binary packages were installed with
pkg_add -r. These old tools did not properly handle upgrades or
dependencies very well.
PKGNG is a replacement for pkg_add/pkg_install, but much smarter. It is
similar to apt-get, yum, etc. All pkgng packages are built from ports at
some point, so it is still limited by limitations of ports. PkgPrimer
 provides some comparison of the old commands to the new commands.
PKGNG is not necessarily a replacement for ports. You can continue to
use ports just like before (with portmaster / portupgrade / manual), or
you can opt to use a binary package repository.
Ports allow you to select which OPTIONS are used, while binary packages
generally do not. Your local Ports checkout may have different versions
of the remote repository you choose to use. As such, if you try to use
both binary packages and ports, you may run into surprises.
The plan is to provide a pkg.freebsd.org repository that is updated
frequently, uses SRV mirrors, and has signed packages. This part of the
plan is stalled. More information on the roadmap for pkgng is on the
PKGNG Charter wiki page 
The nature of mirrors means that http://pkg.freebsd.org will not have a
site on it as it is an SRV mirror, not an FTP or HTTP server. If it had
packages, you would not be able to browse them. You should use 'pkg
search' instead. You can see which mirrors are available by running:
dig SRV _http._tcp.pkg.freebsd.org
However, due to the recent security incident , the pkg.freebsd.org
repository was cleared and will be rebuilt in the future . As such,
no packages except for 'ports-mgmt/pkg' are currently available.
However, you can build your own packages and run your own repository
using poudriere (ports-mgmt/poudriere) or tinderbox
(ports-mgmt/tinderbox-devel); or just continue using ports.
More information, blog posts, and resources can be found on the PKGNG
wiki page: http://wiki.freebsd.org/pkgng
Hope this helps,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 897 bytes
Desc: OpenPGP digital signature
More information about the freebsd-ports