Upgrade to a Beta package not possible because referenced

I am trying to install a new Beta package of our app into a sandbox. The install fails and tells me that “Cannot upgrade to a managed-beta version” because ” cannot be upgraded using a managed-beta version of this package because it is referenced by an extension package developed in this organization. Please install a managed-released version of this package to complete the upgrade.”

But there is neither a package created from this sandbox nor an installed one that references the package i am trying to upgrade.

Any idea what else could cause the upgrade to fail?

Answer

You can’t “upgrade” a managed beta package. The only way to go from one beta version to another is to uninstall the previous beta and install the new one. This means that an “upgrade” of a beta requires you to remove all references in the org to the beta package.

If you go to Setup -> Installed Packages and try to uninstall the beta package, you should get a list of the references which prevent the package from uninstalling.

Attribution
Source : Link , Question Author : Klaus , Answer Author : Jason Lantz

Leave a Comment