pkg: PACKAGESITE in pkg.conf is deprecated.

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:

It’s just a trick and would like people to migrating onto repo files asap.

Please refer
Availability of binary pkgs for Download

  1. 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.
  2. 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.
  3. mkdir -p /usr/local/etc/pkg/repos
  4. Create the file /usr/local/etc/pkg/repos/FreeBSD.conf with:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.