Pkg Error Updating Repositories

Hi, anyone know how to solve this error ? I can't do any pkg install since couple of days ago.

Code:
# pkg update
Updating FreeBSD repository catalogue...
pkg: http://pkg0.twn.FreeBSD.org/FreeBSD:13:amd64/quarterly/meta.txz: Service Unavailable
repository FreeBSD has no meta file, using default settings
pkg: http://pkg0.twn.FreeBSD.org/FreeBSD:13:amd64/quarterly/packagesite.txz: Service Unavailable
Unable to update repository FreeBSD
Error updating repositories!
 
Last edited by a moderator:
Somehow, I manage to make it works after adding /usr/local/etc/pkg/repos/FreeBSD.conf with the following content:
Code:
FreeBSD: {
  url: "pkg+[URL]https://pkg.FreeBSD.org/$[/URL]{ABI}/latest"
}
Note that I use HTTPS instead of HTTP, perhaps the error was due to a server-side issue.
 
Last edited by a moderator:
Back
Top