Commit 85c648ec authored by intrigeri's avatar intrigeri
Browse files

tails-additional-software: don't abort on failure to clear obsolete cached packages (refs: #12400).

parent a88cadd3
......@@ -106,7 +106,11 @@ def install_additional_packages():
syslog.syslog(syslog.LOG_WARNING,
"Warning: persistence is not mounted, exiting")
return True
clear_obsolete_cache(OBSOLETE_APT_LIST_SUFFIX)
try:
clear_obsolete_cache(OBSOLETE_APT_LIST_SUFFIX)
except:
syslog.syslog(syslog.LOG_WARNING,
"Warning: failed to clear obsolete cached packages")
packages = get_additional_packages()
if not packages:
syslog.syslog(syslog.LOG_WARNING,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment