Error updating respository FreeNas 11.1

Status
Not open for further replies.

Curufinwe_wins

Dabbler
Joined
Feb 15, 2016
Messages
17
Hello all. I was hoping moving from 9.10 (which I had been using without issue for a long time) to 11.1 might magically solve the issue, but basically I get the standard error response when I try to update repository from inside one of my jails in FreeNas.


root@plex:/ # pkg update
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD load error: access repo file(/var/db/pkg/repo-FreeBSD.sq
lite) failed: No such file or directory
pkg: http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/meta.txz: No address record
repository FreeBSD has no meta file, using default settings
pkg: http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/packagesite.txz: No address
record
Unable to update repository FreeBSD
Error updating repositories!

root@plex:/ # ping pkg.freebsd.org
ping: cannot resolve pkg.freebsd.org: Host name lookup failure

root@plex:/ # cat /etc/resolv.conf
208.67.222.222
upload_2018-9-5_21-4-10.png



[root@freenas ~]# ping pkg.freebsd.org
PING pkgmir.geo.freebsd.org (96.47.72.71): 56 data bytes
64 bytes from 96.47.72.71: icmp_seq=0 ttl=49 time=36.740 ms
64 bytes from 96.47.72.71: icmp_seq=1 ttl=49 time=43.789 ms
64 bytes from 96.47.72.71: icmp_seq=2 ttl=49 time=37.815 ms
64 bytes from 96.47.72.71: icmp_seq=3 ttl=49 time=41.186 ms
64 bytes from 96.47.72.71: icmp_seq=4 ttl=49 time=41.346 ms
64 bytes from 96.47.72.71: icmp_seq=5 ttl=49 time=39.918 ms

[root@freenas ~]# cat /etc/resolv.conf
# Generated by resolvconf
search local
nameserver 8.8.8.8
nameserver 1.1.1.1
nameserver 8.8.4.4



So yeah. Honestly I'm sure this is just something stupid, but I don't know what happened or what I am doing wrong.
 

Curufinwe_wins

Dabbler
Joined
Feb 15, 2016
Messages
17
Not sure why it would suddenly be an issue, but swapping from my static defined IP to DCHP seemed to resolve the issue (I've used that static reserved IP for like... 2 years). If anyone can explain that, it would be super.
 
Status
Not open for further replies.
Top