+ Start a Discussion
KevrogtengKevrogteng 

Unable to uninstall beta managed package throws internal server error

I have a Lightning Component beta managed package that I have installed in one of my dev orgs. I made some bug fixes and wanted to install the new beta managed package, but to do that I need to uninstall the old beta managed package. 

I can't seem to uninstall the old beta managed package and it redirects me to a page with internal server error as shown in the image below:

User-added image

I haven't contacted Salesforce Support yet (thinking this might be a common issue).
SandhyaSandhya (Salesforce Developers) 
Hi Kevrogteng,

Try to edit and save apex classes, visual force pages and so on to be sure they are not referencing anywhere. suggestion from below link

http://salesforce.stackexchange.com/questions/112176/internal-server-error-when-trying-to-get-the-list-of-managed-package-components

Please refer below link and consider notes on uninstalling.Some way it will help you.

https://help.salesforce.com/apex/HTViewHelpDoc?id=distribution_uninstalling_packages.htm

https://help.salesforce.com/apex/HTViewSolution?urlname=How-do-I-remove-components-from-a-Managed-Package-1327108663841&language=en_US
 
Hope this helps you!

Thanks and Regards
Sandhya
Melissa KleinMelissa Klein
I just had this issue and was really stumped. On a whim, I deactivated all flows and process builders that were in the package then the uninstall was successful! Whew.