def execute(self, ns, package_array): """ :rtype: (``list``) Packages from ``package_array``, that were successfuly removed. """ return for_each_package_specs(ns, package_array, 'remove', lambda identity: software.remove_package(ns, identity))