Can't update a brand-new jail

Status
Not open for further replies.

IDtheTarget

Dabbler
Joined
Oct 6, 2016
Messages
22
So, I'm trying to create an Ubiquiti UniFi controller in a new jail per this article. I've added the jail, but when I try to run freebsd-update fetch, I get:
Code:
root@unifi:~ # freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching public key from update5.freebsd.org... failed.
Fetching public key from update6.freebsd.org... failed.
Fetching public key from update4.freebsd.org... failed.
Fetching public key from update3.freebsd.org... failed.
No mirrors remaining, giving up.


So I tried:
Code:
root@unifi:~ # freebsd-update -v debug fetch
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching public key from update4.freebsd.org... fetch: http://update4.freebsd.org/10.3-STABLE/amd64/pub.ssl: Not Found
failed.
Fetching public key from update5.freebsd.org... fetch: http://update5.freebsd.org/10.3-STABLE/amd64/pub.ssl: Not Found
failed.
Fetching public key from update6.freebsd.org... fetch: http://update6.freebsd.org/10.3-STABLE/amd64/pub.ssl: Not Found
failed.
Fetching public key from update3.freebsd.org... fetch: http://update3.freebsd.org/10.3-STABLE/amd64/pub.ssl: Not Found
failed.
No mirrors remaining, giving up.


I've tried Google, and the best I can tell is that I should be on a RELEASE instead of on a STABLE. But when I go onto download.freenas.org, I can't find any jail templates for FreeNAS-9.10-STABLE, which is what I'm apparently on. Do I need to revert back to 9.3 STABLE? Will that fix my problem?

Thanks!
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,975
You can't upgrade the FreeBSD base in the jail without breaking things. You have to be on the same or older version as the host.

You'd be better off following Cyberjocks guide rather than some random tutorial found on the web.
 

IDtheTarget

Dabbler
Joined
Oct 6, 2016
Messages
22
You can't upgrade the FreeBSD base in the jail without breaking things. You have to be on the same or older version as the host.

You'd be better off following Cyberjocks guide rather than some random tutorial found on the web.

Hmm. Unfortunately Cyberjock's guide no longer works. Things have changed enough that following his steps don't work. I'm trying to adapt and learn enough FreeBSD on my own to make the adjustment, but it's taking awhile.

I'm wondering if it would just be better to run an Ubuntu VM under a jail. But I don't know if the Mini XL I bought from ixsystems has the juice to run it.
 
Status
Not open for further replies.
Top