etc/pkg/repos
2017-11-30 15:59:35 -08:00
..
FreeBSD.conf latest pkg versions 2017-11-30 15:51:09 -08:00
README.md Switch pkg to fetch the latest version of packages 2017-11-30 15:59:35 -08:00

Switch pkg to fetch the latest version of packages

As root. #

mkdir /usr/local/etc/pkg /usr/local/etc/pkg/repos ; cd /usr/local/etc/pkg/repos ; fetch https://raw.githubusercontent.com/stationgroup/etc/master/pkg/repos/FreeBSD.conf ; cd ~

Questions for Google to index:

How do I install the latest package of example.

In 11.1 the default pkg repository was "latest", but after running mergemaster it was changed to "quarterly"

My VPS was installed with an empty pkg repository; making the change to /usr/local/etc/pkg/repos allowed me to repopulate it and configure what I needed