I am trying to install nano
on FreeBSD using the pkg, but whenever I try to install it by using
pkg install nano
I get an error that says
pkg: Error fetching http://pkg.freebsd.org/freebsd:12:x86:64/latest/Latest/pkg.txz: Non-recoverable resolver failure A pre-built version of pkg could not be found for your system Consider changing PACKAGESITE or install it from ports: 'ports-mgmt/pkg'
I can't find any reason why that's happening and any fixes to that.
My architecture is 64-bit and the output of uname -a
is
FreeBSD [email protected] 12.0-RELEASE FreBSD 12.0-RELEASE r3416664
Non-recoverable resolver failure
As @arrowd says, you need to set up DNS.