This method is used by the registry when a package is uninstalled or upgraded to remove the package's dependencies from the dependency database.
Upgraded packages first uninstall, then install
This parameter, if an array, should be in format:
throws no exceptions thrown
This function can not be called statically.