[HEADSUP] current switched by default to pkgng
matthew at FreeBSD.org
Wed Oct 10 16:34:14 UTC 2012
On 10/10/2012 16:52, Simon L. B. Nielsen wrote:
> I read UPDATING, but I'm still not sure what this means when I use
> ports and not packages.
It means that if you're a user of HEAD, and you don't opt out by setting
WITHOUT_PKGNG=yes in make.conf, then:
* the next time you use the ports, ports-mgmt/pkg will be installed
as a dependency
* pkgng will be used to register all the ports you subsequently
install into /var/db/pkg/local.sqlite
However, unless you take some preventive action, any ports that were
installed before this update won't be added to the registry in
local.sqlite. You'll end up with a mix of stuff using the old subdirs
of /var/db/pkg from pkg_tools and the new local.sqlite from pkgng.
Sorting that out is a one-time job to import the pkg_tools data into
pkgng's database using pkg2ng, which is what the instructions in
> Does it mean that I should install pkg to have /var/db/pkg managed,
> but otherwise ports keeps working the same way, or?
pkgng will need to be installed, yes. You'll need to switch to using
pkgng commands rather than pkg_tools -- eg:
pkg info -a
to get a list of all installed ports. You need to patch portmaster(8)
if you use that -- although a patched version will soon be available in
ports. Apart from that, the ports will work pretty much exactly as they
used to do.
Dr Matthew J Seaman MA, D.Phil.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 264 bytes
Desc: OpenPGP digital signature
More information about the freebsd-ports