Hi,
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
"cq-ui-5.1.44-SNAPSHOT.zip";
""cq-ui-5.1.43-SNAPSHOT.zip"";
"cq-ui-5.1.42-SNAPSHOT.zip" etc...
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
curl -u admin:admin -F cmd=uninstall http://localhost:41001/crx/packmgr/service/.json/etc/packages/cq-ui-5.1.43-SNAPSHOT.zip
{"success":true,"msg":"Package uninstalled"}
After i executed uninstall command on "cq-ui-5.1.43-SNAPSHOT.zip", listed the package but it doesn't show as any modification made.
<package>
<group></group>
<name>cq-ui</name>
<version>5.1.43-SNAPSHOT</version>
<downloadName>cq-ui-5.1.43-SNAPSHOT.zip</downloadName>
<size>30834408</size>
<created>Thu, 26 Mar 2020 17:03:18 -0400</created>
<createdBy>admin</createdBy>
<lastModified>Thu, 5 Mar 2020 15:45:48 -0500</lastModified>
<lastModifiedBy>admin</lastModifiedBy>
<lastUnpacked></lastUnpacked>
<lastUnpackedBy>null</lastUnpackedBy>
</package>
Does it mean - this package is successfully uninstalled? If this is not right - How do i uninstall/delete these older version packages without restoring? Kindly assist.
