Is iocage jail update the same as pkg update && pkg upgrade inside the jail?

Mannekino

Patron
Joined
Nov 14, 2012
Messages
332
I've been wondering this myself. I think the update function from the GUI use the FreeNAS iocage repository to update when you have a jail that was created through the installation of a plugin. I've recently moved entirely from the plugins to manual installed jails and then install the applications myself using the most current version of the FreeBSD repository.

Another finding I had when using the update function from the GUI packges I installed manually weren't there anymore. I had a plugin jail in which I installed nano. After using the GUI update function it was gone.

Wonder what the actual answer is to this question.
 

Fredda

Guru
Joined
Jul 9, 2019
Messages
608
Just read the linked page:
To update a jail to latest patch level, run:
iocage update [UUID | NAME]

To upgrade a jail to the host’s RELEASE, run:
iocage upgrade -r [11.1-RELEASE] [UUID | NAME]
 
Top