Sollution to pkg: PACKAGESITE in pkg.conf is no longer supported in freebsd jail

vi /usr/local/etc/pkg/repos/FreeBSD.conf # remove pkg+ from address
mv /usr/local/etc/pkg.conf /usr/local/etc/pkg.conf.whatever # rename pkg.conf file to get rid of packagesite error
pkg install -y pkg
vi /usr/local/etc/pkg/repos/FreeBSD.conf # replace pkg+ in address

Leave a Reply

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