Why is Pkg Different in Upgraded Jail?

yottabit

Contributor
Joined
Apr 15, 2012
Messages
192
After upgrading to TrueNAS, I started upgrading my four jails. They were previously running FreeBSD-RELEASE-11.1/11.2/11.3.

I attempted to upgrade them all to FreeBSD-RELEASE-12.2, but some would only go as high as 12.1 and refuse to go to 12.2.
Code:
$ iocage list
+------+------------+-------+--------------+------+
| JID  |    NAME    | STATE |   RELEASE    | IP4  |
+======+============+=======+==============+======+
| 40   | misc1      | down  | 12.2-RELEASE | DHCP |
+------+------------+-------+--------------+------+
| 32   | syncthing1 | up    | 12.2-RELEASE | DHCP |
+------+------------+-------+--------------+------+
| 36   | tautulli   | up    | 12.1-RELEASE | DHCP |
+------+------------+-------+--------------+------+
| 39   | yottaplex  | up    | 12.1-RELEASE | DHCP |
+------+------------+-------+--------------+------+


Regardless, now some packages are showing different versions available, even if the jails are running the same version:
Code:
$ sudo iocage pkg misc1 search syncthing
syncthing-1.9.0                Encrypted file sync tool
syncthingtray-0.11.12          Qt 5-based Syncthing tray application
syncthing-1.9.0                Encrypted file sync tool
syncthingtray-0.11.12          Qt 5-based Syncthing tray application

$ sudo iocage pkg syncthing1 search syncthing
syncthing-1.9.0                Encrypted file sync tool
syncthingtray-0.11.12          Qt 5-based Syncthing tray application
syncthing-1.9.0                Encrypted file sync tool
syncthingtray-0.11.12          Qt 5-based Syncthing tray application

$ sudo iocage pkg tautulli search syncthing
syncthing-1.12.0               Encrypted file sync tool
syncthingtray-1.0.0            Qt 5-based Syncthing tray application
syncthing-1.12.0               Encrypted file sync tool
syncthingtray-1.0.0            Qt 5-based Syncthing tray application

$ sudo iocage pkg yottaplex search syncthing
syncthing-1.12.0               Encrypted file sync tool
syncthingtray-1.0.0            Qt 5-based Syncthing tray application
syncthing-1.12.0               Encrypted file sync tool
syncthingtray-1.0.0            Qt 5-based Syncthing tray application


Bizarre that is shows the newer package is available in the jails with the older FreeBSD release.

Forcing pkg to download the latest catalog doesn't help:
Code:
$ sudo iocage pkg syncthing1 -f update
pkg: illegal option -- f
Updating FreeBSD repository catalogue...
pkg: illegal option -- f
FreeBSD repository is up to date.
All repositories are up to date.
pkg: illegal option -- f
Updating FreeBSD repository catalogue...

FreeBSD repository is up to date.
All repositories are up to date.

$ sudo iocage pkg syncthing1 search syncthing
syncthing-1.9.0                Encrypted file sync tool
syncthingtray-0.11.12          Qt 5-based Syncthing tray application
syncthing-1.9.0                Encrypted file sync tool
syncthingtray-0.11.12          Qt 5-based Syncthing tray application


Any ideas how I can fix this without rebuilding the jail?
 
Top