The acs-aem-commons subpackage isn't installing using curl command
I've used the below command to install the ui.apps package in my local instance and it was successful.
curl -u admin:admin -F cmd=install http://localhost:4502/crx/packmgr/service/.json/etc/packages/ABCD/BCD.ui.apps-0.0.0-SNAPSHOT.zip
Response:
{"success":true,"msg":"Package installed"}
but in the package manager, it was showing the install state not the installed state and not able to see the last installed date as well(This issue does not happen using mvn command build ).

Environment
AEM 6.5.16
Note: Suppose, I'm trying to install the acs-aem-commons-all-6.0.14.zip package explicitly through the curl command and I get the response as package installed but it doesn't install so we need to manually install the package every time.
curl -u admin:admin -F cmd=install http://localhost:4502/crx/packmgr/service/.json/etc/packages/adobe/consulting/acs-aem-commons-all-6.0.14.zip
{"success":true,"msg":"Package installed"}
Can someone share any idea how this problem can be addressed?
Thanks