I have a custom managed package and made it accidentally depend on another managed package. The new package is already installed in some other orgs.

Can I (in a newer version) of my package remove the dependancies from the other package? If not, could Salesforce support do it?


From my understanding, the only way to fix this is to roll the version that introduced the dependency and all future versions back to a Beta version, which also requires uninstalling that version and all future versions from all subscriber orgs. If that's not realistic (and it usually isn't), then you're stuck with what you have, or you will have to create a new package and eventually switch all your subscribers to that one instead. However, the policy may have changed since I've gone through this process, so you would probably be better off logging in to the Partner Portal and submitting a case. If you're not a partner, you're probably out of luck, as last time I checked, normal support cannot modify a managed package at all.

| improve this answer | |
  • I just reproduced this using two play orgs. Even if the extension removes all its technical dependencies to the Base Package and its NOT show as Managed (Extension) anymore it remain dependent. Very dangerous. – Robert Sösemann Jul 26 '18 at 2:15
  • 2
    @RobertSösemann Yep. That's why they have warnings like not installing the LMA into the packaging org, etc. In fact, it's prudent to never install any packages into a packaging org because of that risk. – sfdcfox Jul 26 '18 at 2:19
  • But I don't get why they should not be able or willing to help and reset a package in such rare situations. This can kill companies. – Robert Sösemann Jul 26 '18 at 21:23
  • 1
    @RobertSösemann The system prevents you from doing things that could break things. For example, if the dependency were removed, and some subscriber had a dependency on that dependency... it'd break on upgrade. They don't say how, exactly, but it's simply not something they're worth risking. That's why the rollback/uninstall process is required, to prevent issues. – sfdcfox Jul 26 '18 at 22:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.