結果出現了下方錯誤..
[root@freenas ~]# pkg install nginx
Updating local repository catalogue...
pkg: Repository local load error: access repo file(/var/db/pkg/repo-local.sqlite) failed: No such file or directory
pkg: file:///usr/ports/packages/meta.txz: No such file or directory
repository local has no meta file, using default settings
pkg: file:///usr/ports/packages/packagesite.txz: No such file or directory
Unable to update repository local
Error updating repositories!
輸入
nano /usr/local/etc/pkg/repos/local.conf
將其enabled改為no接著輸入
nano /usr/local/etc/pkg/repos/FreeBSD.conf
將其enabled改為yes這樣就可以快樂的用pkg安裝一些FreeNAS所沒有的套件了