Hi,
I got my "installer" command hangs.
I have a self-built pkg and I'd like to install it via command line:
sudo installer -pkg XXXX.pkg -verbose -target /
But the above command hangs for 10+ mins.
Here's the ps aux | grep installer
output:
root 4013 0.0 0.4 4341956 15700 s000 S+ 3:02AM 0:00.73 installer -pkg XXXX.pkg -verbose -target /
I found some logs related to the installer command in /var/log/install.log
2022-01-14 03:02:10-08 cats-Mac-4 installer[4013]: Product archive /Users/test/Downloads/client/XXXX.pkg trustLevel=350
2022-01-14 03:02:11-08 cats-Mac-4 installer[4013]: External component packages (2) trustLevel=350
2022-01-14 03:02:11-08 cats-Mac-4 installer[4013]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
2022-01-14 03:02:11-08 cats-Mac-4 installer[4013]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/test/Downloads/client/XXXX.pkg#YYYY.pkg
2022-01-14 03:02:11-08 cats-Mac-4 installer[4013]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/test/Downloads/client/XXXX.pkg#YYYY.pkg
2022-01-14 03:02:11-08 cats-Mac-4 installer[4013]: Set authorization level to root for session
2022-01-14 03:02:11-08 cats-Mac-4 installer[4013]: Administrator authorization granted.
The self-built pkg has been signed / notarized correctly. How to dig out what cause the command hangs?
Thank you!