|
|
@ -113,6 +113,16 @@ class EEAptGet(): |
|
|
|
except SystemError as e: |
|
|
|
Log.debug(self, 'SystemError: ' + str(e)) |
|
|
|
return False |
|
|
|
else: |
|
|
|
# apt_cache.close() |
|
|
|
Log.error(self, 'Unknown package selected (' + |
|
|
|
package_name.strip() + ')') |
|
|
|
|
|
|
|
for package in packages: |
|
|
|
if not remove_package(self, package, purge=purge): |
|
|
|
continue |
|
|
|
|
|
|
|
if apt_cache.delete_count > 0: |
|
|
|
try: |
|
|
|
# apt_pkg.PkgSystemUnLock() |
|
|
|
result = apt_cache.commit() |
|
|
@ -125,14 +135,6 @@ class EEAptGet(): |
|
|
|
Log.debug(self, str(e)) |
|
|
|
Log.error(self, str(e)) |
|
|
|
# apt_cache.close() |
|
|
|
else: |
|
|
|
# apt_cache.close() |
|
|
|
Log.error(self, 'Unknown package selected (' + |
|
|
|
package_name.strip() + ')') |
|
|
|
|
|
|
|
for package in packages: |
|
|
|
if not remove_package(self, package, purge=purge): |
|
|
|
continue |
|
|
|
|
|
|
|
def auto_clean(self): |
|
|
|
""" |
|
|
|