This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
freenas [2020/10/30 13:20] k2patel |
freenas [2020/10/30 17:11] (current) k2patel [Jail Issues] |
||
---|---|---|---|
Line 30: | Line 30: | ||
</code> | </code> | ||
- | ==== Jail Issues ==== | + | ==== Jails ==== |
- | === pkg command broken after update === | + | |
- | Check if file `/usr/local/etc/pkg/repos/FreeBSD.conf` using the correct ABI. | + | |
+ | === Upgrading Jail after major update === | ||
+ | :!: Select the appropriate version | ||
+ | <code bash> | ||
+ | iocage fetch | ||
+ | iocage upgrade backuppc -r 12.2-RELEASE | ||
+ | </code> | ||
+ | |||
+ | === pkg command broken after major version update === | ||
+ | :!:When //iocage pkg backuppc update// does not work. | ||
+ | |||
+ | Check if file //**/usr/local/etc/pkg/repos/FreeBSD.conf**// using the correct ABI.\\ | ||
+ | Once the version confirmed, run following commands in jail. | ||
+ | |||
+ | <code bash> | ||
+ | # pkg-static install -f pkg | ||
+ | pkg-static bootstrap -f | ||
+ | pkg update -f | ||
+ | pkg upgrade | ||
+ | </code> | ||