How to delete multiple pacakges from pkg manager? | Community
Skip to main content
New Participant
October 16, 2015
Solved

How to delete multiple pacakges from pkg manager?

  • October 16, 2015
  • 3 replies
  • 3116 views

Hi,

I have lot of packages uploaded in my package manager that are not needed for me now and i want to delete all at once. Do we have a way to do so?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

Unfortunately have to uninstall one by one. In case you have organized well & to clean folder use crx explorer or crxde to delete parent node. You can use automaize using curl.  In any case file a daycare request so that enhancement request can be tracked.

3 replies

akashs51893872
New Participant
June 7, 2018

Go to /etc/packages >> delete the packages that need to be deleted >> Save All and restart the AEM instance.

Good Luck...

Sham_HC
Sham_HCAccepted solution
New Participant
October 16, 2015

Unfortunately have to uninstall one by one. In case you have organized well & to clean folder use crx explorer or crxde to delete parent node. You can use automaize using curl.  In any case file a daycare request so that enhancement request can be tracked.

GK-007
New Participant
October 16, 2015

I think this can be achievable by using the cURL command.Below command is for deleting single package and the same you can frame the command to delete multiple packages.

curl -k -u "$USER_NAME":"$PASSWORD" -X POST "$URL""$PORT"/wcm_author/crx/packmgr/service/.json/etc/packages/my_packages/<package-name>?cmd=delete