We are trying to remove a installed package using which some dependent code is in PROD in a un-managed package. The prod package is deleted but the destination it shows up which causes a dependent managed package un-installation failure.
Showing error as 'This extension depends on the package you are trying to uninstall'
EDIT : INVALID_TYPE: sObject type 'AllPackage' is not supported. 
Tried deleting using workbench, above error comes up.