Solved iocage all subcommands are gone after upgraded to 13.0-RELEASE

I followed instructions from https://www.freebsd.org/releases/13.0R/installation/#upgrade to upgrade from 12.2 to 13.0.
After rebuild all ports and rebooted into 13.0 all sysutils/iocage subcommands are gone.
Code:
 ~> sudo iocage list
Password:
Sorry, try again.
Password:
Usage: iocage [OPTIONS] COMMAND [ARGS]...
Try 'iocage --help' for help.

Error: No such command 'list'.
~ [2]> sudo iocage --help
Usage: iocage [OPTIONS] COMMAND [ARGS]...

  A jail manager.

Options:
  -v, --version  Display iocage's version and exit.
  -f, --force    Allow iocage to rename datasets.
  -D, --debug    Log debug output to the console.
  --help         Show this message and exit.

Commands:
  migrate  Migrate all iocage_legacy develop basejails to new clonejails.
~> pkg info -x iocage
py39-iocage-1.2_6
 
Fixed by

Diff:
diff --git sysutils/iocage/Makefile sysutils/iocage/Makefile
index 4e5942d013c8..597e9f808f65 100644
--- sysutils/iocage/Makefile
+++ sysutils/iocage/Makefile
@@ -27,6 +27,8 @@ RUN_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}libzfs>=1.0.2:devel/py-libzfs@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}gitpython>0:devel/py-gitpython@${PY_FLAVOR} \
+               ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \
+               ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \
                merge:devel/rcs57

 USES=          python:3.6+
 
Interesting, I had sysutils/iocage with py37 flavor installed with pkg and decided to replace it with py38, and I get the same error message as zkaa71n. None of the commands are working.
Code:
# iocage list
Usage: iocage [OPTIONS] COMMAND [ARGS]...
Try 'iocage --help' for help.

Error: No such command 'list'.
The Makefile is the same as shown in the previous post:
Code:
RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}click>=6.7:devel/py-click@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}tqdm>=4.10.0:misc/py-tqdm@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}coloredlogs>0:devel/py-coloredlogs@${PY_FLAVOR} \
                ca_root_nss>0:security/ca_root_nss \
                ${PYTHON_PKGNAMEPREFIX}texttable>=0.8.7:textproc/py-texttable@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}pytest-runner>=2.0.0:devel/py-pytest-runner@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}requests>=2.11.1:www/py-requests@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}libzfs>=1.0.2:devel/py-libzfs@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}gitpython>0:devel/py-gitpython@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \
                merge:devel/rcs57

USES=           python:3.6+
FYI:
Code:
# pkg info -x iocage
py38-iocage-1.2_7

# freebsd-version
12.2-RELEASE-p6
 
Interesting, I had sysutils/iocage with py37 flavor installed with pkg and decided to replace it with py38, and I get the same error message as zkaa71n. None of the commands are working.
Code:
# iocage list
Usage: iocage [OPTIONS] COMMAND [ARGS]...
Try 'iocage --help' for help.

Error: No such command 'list'.
The Makefile is the same as shown in the previous post:
Code:
RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}click>=6.7:devel/py-click@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}tqdm>=4.10.0:misc/py-tqdm@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}coloredlogs>0:devel/py-coloredlogs@${PY_FLAVOR} \
                ca_root_nss>0:security/ca_root_nss \
                ${PYTHON_PKGNAMEPREFIX}texttable>=0.8.7:textproc/py-texttable@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}pytest-runner>=2.0.0:devel/py-pytest-runner@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}requests>=2.11.1:www/py-requests@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}libzfs>=1.0.2:devel/py-libzfs@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}gitpython>0:devel/py-gitpython@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \
                ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \
                merge:devel/rcs57

USES=           python:3.6+
FYI:
Code:
# pkg info -x iocage
py38-iocage-1.2_7

# freebsd-version
12.2-RELEASE-p6
Update:
This issue has been fixed in py38-iocage-1.2_8 which is in the ports tree but not in the pkg repo yet (as of the time of this post). Updating from the ports tree fixed it!
 
Back
Top