Brand new R-Pi image just booted. I created a file at /usr/local/etc/pkg/repos/FreeBSD.conf as per instructions in /etc/pkg/FreeBSD.conf to disable the default pkg repository. Also created a custom repository file at /usr/local/etc/pkg/repos/custom.conf as per the handbook. Yet my system continues to try and fetch from there and does not attempt to use the new custom repository. Any idea why?
Code:
root@rpi-b:/home/freebsd # ls /etc/pkg/
FreeBSD.conf
root@rpi-b:/home/freebsd # cat /etc/pkg/FreeBSD.conf
# $FreeBSD: releng/10.3/etc/pkg/FreeBSD.conf 296373 2016-03-04 01:27:38Z marius $
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
# mkdir -p /usr/local/etc/pkg/repos
# echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#
FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
root@rpi-b:/home/freebsd # cat /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD: { enabled: no }
root@rpi-b:/home/freebsd # cat /usr/local/etc/pkg/repos/custom.conf
custom: {
url: "http://pkg.example.com/repo",
enabled: yes
}
root@rpi-b:/home/freebsd # pkg
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:10:armv6/latest, please wait...
pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:10:armv6/latest/Latest/pkg.txz: Not Found
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.