Unable To Run PKG UPDATE Since Upgrading FreeNAS To TrueNAS

Joined
May 2, 2017
Messages
211
Any idea how to fix this? Started with TrueNAS update from FreeNAS. I can ping pkg.freebsd.org, etc...

Error.png


Thanks!
 

G8One2

Patron
Joined
Jan 2, 2017
Messages
248
You need to be in a jail not root@GENESIS
 

Mannekino

Patron
Joined
Nov 14, 2012
Messages
332
Repository is locked in the root system by default, which is the way it should be. If you want to install software you should create a Jail. These two guides still work find if you want to enable the latest packages in a Jail. Just set the default FreeBSD.conf to disabled and create a new file like shown in the guides or replace 11 with 12 if you totally want to follow the guides.

 
Joined
May 2, 2017
Messages
211
I suspected something like that, but this started trying to upgrade a jails base OS. I ran the command...

iocage upgrade -r 12.1-RELEASE plex-media-server

And I get this...

Error.png


So I thought maybe something in the underlying base OS needed to upgraded. Maybe one of you know what I'm missing?

Thanks...
Steve
 

G8One2

Patron
Joined
Jan 2, 2017
Messages
248
I believe the correct command would be
iocage upgrade plexmediaserver -r 12.1-RELEASE
 
Joined
May 2, 2017
Messages
211
Same error typed like that...
 

G8One2

Patron
Joined
Jan 2, 2017
Messages
248
Well 11.4 iocage jails are not compatible with 12.1 jails. So there's that too.... You likely need to upgrade to TrueNas 12.1 before you can upgrade your jail to any newer versions.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
You likely need to upgrade to TrueNas 12.1
There is no TrueNAS 12.1 (yet). TrueNAS 12.0 uses FreeBSD 12.2 as its base.
 
Joined
May 2, 2017
Messages
211
There is no TrueNAS 12.1 (yet). TrueNAS 12.0 uses FreeBSD 12.2 as its base.

Right. Am I correct in assuming you can have a 12.1 jail on TrueNAS 12.0 since it uses 12.2 as its base? That's kind of the point in upgrading. I want to bring my jail up to the current version. First 12.1, then eventually 12.2.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Am I correct in assuming you can have a 12.1 jail on TrueNAS 12.0 since it uses 12.2 as its base?
I'd assume so. I've upgraded many of my jails directly to 12.2; I don't see much point in upgrading to the EOL 12.1.
 
Joined
May 2, 2017
Messages
211
I'd assume so. I've upgraded many of my jails directly to 12.2; I don't see much point in upgrading to the EOL 12.1.

The iocage fetch command only lists 12.0 as EOL, which is why I was going to 12.1 first. But because of the error, it doesn't look like I'm doing that either. LOL
 
Top