pkg add needs to be run twice

anonnasuser

Cadet
Joined
Sep 27, 2022
Messages
5
Hello, I'm working on a NAS that's on a private network and doesn't have access to the internet. As such, when I need to update packages, I bring in the pkg files and use
Code:
pkg add
. Recently, this command stopped working on the first time and I would have to do it again for the packages to update. I've tested this a few times and this is a consistent trend;
Code:
pkg add
does nothing the first time it's run, then works fine the second time. This is a problem for me as I have this process (as well as other nas configurations) automated for whenever we update to a new TrueNAS release. Anyone have any ideas on why this might be happening?
 
Top