Note for the pkg changes.
pkg version>1.1.4 and Im currently using 1.2.7
after moving onto pkgng, pkg update shall report following warning:
1 |
pkg: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file |
It’s just a trick and would like people to migrating onto repo files asap.
Please refer
Availability of binary pkgs for Download
Quote:
- 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:
12345FreeBSD: {url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",mirror_type: "srv",enabled: yes}