Not sure what's outdated (if either): do I simply follow the pkgng install from the Handbook, or the Wiki?
The Handbook states:
Done and dusted.
The Wiki states:
Or, do I do both?
The Handbook states:
Code:
#/usr/sbin/pkg
#pkg2ng
#echo "WITH_PKGNG=yes" > /etc/make.conf
The Wiki states:
Wki said:While pkg works just fine with ports as the local package management tool, it ultimately allows to skip ports and use remote binary packages.
- Ensure your pkg(8) is up-to-date. 'pkg -v' should say at least 1.1.4. If it does not, first upgrade from ports.
- Remove any repository-specific configuration from /usr/local/etc/pkg.conf, such as PACKAGESITE, MIRROR_TYPE, PUBKEY. If this leaves your pkg.conf empty, just remove it.
- mkdir -p /usr/local/etc/pkg/repos
- Create the file /usr/local/etc/pkg/repos/FreeBSD.conf with:
Code:FreeBSD: { url: "http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", enabled: "yes" }
Or, do I do both?