Change Package Source of FreeBSD

From HateotU
Revision as of 12:38, 13 August 2016 by Martin (talk | contribs) (Created page with "==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/${...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 faster mirror, 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
}