Commit ba0967fe authored by Alan's avatar Alan

ASP: fix issue when checking which packages are ASP

Convert packages names to set as map objects sometimes don't
behave as expected.

Will-fix: #15983
parent e932963c
......@@ -472,9 +472,9 @@ def apt_hook_post():
packages = json.load(f)
os.remove(ASP_STATE_PACKAGES)
additional_packages_names = map(
additional_packages_names = set(map(
filter_package_details,
get_additional_packages(search_new_persistence=True))
get_additional_packages(search_new_persistence=True)))
apt_cache = apt.cache.Cache()
# Filter automatically installed packages and packages already configured
......
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