Change Package Source of FreeBSD

From HateotU
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Change Package Source of FreeBSD

Edit the file /etc/pkg/FreeBSD.conf with your favourite Editor

vi /etc/pkg/FreeBSD.conf

Change the url from pkg+http://pkg.FreeBSD.org/${ABI}/quarterly to a mirror of your choice, e.g. pkg+http://pkg0.nyi.freebsd.org/${ABI}/quarterly.

Change

FreeBSD: {
 url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
 mirror_type: "srv",
 signature_type: "fingerprints",
 fingerprints: "/usr/share/keys/pkg",
 enabled: yes
}

To

FreeBSD: {
 url: "pkg+http://pkg0.nyi.freebsd.org/${ABI}/quarterly",
 mirror_type: "srv",
 signature_type: "fingerprints",
 fingerprints: "/usr/share/keys/pkg",
 enabled: yes
}