Change Package Source of FreeBSD: Difference between revisions

From HateotU
(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/${...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
Edit the file /etc/pkg/FreeBSD.conf with your favourite Editor
Edit the file /etc/pkg/FreeBSD.conf with your favourite Editor
  vi /etc/pkg/FreeBSD.conf
  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 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
Change
  FreeBSD: {
  FreeBSD: {
   url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
   url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
Line 11: Line 13:
   enabled: yes
   enabled: yes
  }
  }
To
To
  FreeBSD: {
  FreeBSD: {
   url: "pkg+http://pkg0.nyi.freebsd.org/${ABI}/quarterly",
   url: "pkg+http://pkg0.nyi.freebsd.org/${ABI}/quarterly",

Latest revision as of 12:39, 13 August 2016

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
}