I am trying to delete all the older version of code packages installed in Author/Publishers and specifically trying to delete packages under /etc/packages with package name "cq-ui-5.1.45-SNAPSHOT.zip"..
"cq-ui-5.1.45-SNAPSHOT.zip" is the latest version installed on the system and we have similar old package versions
and this version starts from the year 2016 with package name - "cq-ui-5.0.00-SNAPSHOT.zip" .
The problem here is, all these packages are NOT under any group & these packages are not installed as a separate packages.
When i select the latest package "cq-ui-5.1.45-SNAPSHOT.zip" and then click "Older Versions"(below screenshot refers old versions) and i could see all these older version packages are under the same package since 2016. Now the concern is, these packages are not installed separately and all the old version packages from 2016 are under one package.
I have run the below command to uninstall one older version package alone and it shows uninstalled successfully. But when i check in package manager, i don't see any changes
Make sure you are logged in with the right privileges.
If you don't have any release notes bounded to versions of the Artifact-Zip AEM content packages, then it will be difficult to understand if you have any breaking changes. Typically an AEM project, the latest content package contains incremental deployments of the version before it. If so, It can be safe to remove the older packages manually.
A manual approach can be done in http://localhost:4502/miscadmin#/etc/packages for each instance. Simply right-click and delete the old packages. And you would not need to uninstall the packages, but to "DELETE" the packages.