diff --git a/ee/core/aptget.py b/ee/core/aptget.py index d81cb876..13bc70d4 100644 --- a/ee/core/aptget.py +++ b/ee/core/aptget.py @@ -182,16 +182,16 @@ class EEAptGet(): # Mark for deletion the first package, to fire up # auto_removable Purge? - # for dep in onelevel: - # my_selected_packages.append(dep.name) - # try: - # if purge: - # dep.mark_delete(purge=True) - # else: - # dep.mark_delete(purge=False) - # except SystemError as e: - # Log.debug(self, "{0}".format(e)) - # Log.error(self, "Unable to purge depedencies.") + for dep in onelevel: + my_selected_packages.append(dep.name) + try: + if purge: + dep.mark_delete(purge=True) + else: + dep.mark_delete(purge=False) + except SystemError as e: + Log.debug(self, "{0}".format(e)) + Log.error(self, "Unable to purge depedencies.") try: if purge: