[fix] Bad set operation

This commit is contained in:
ljf (zamentur) 2022-03-31 14:48:11 +02:00 committed by GitHub
parent 88e3b0146b
commit 4f010864b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -301,7 +301,9 @@ class MyMigration(Migration):
# which means maybe a previous upgrade crashed and we're re-running it) # which means maybe a previous upgrade crashed and we're re-running it)
if " bullseye " not in read_file("/etc/apt/sources.list"): if " bullseye " not in read_file("/etc/apt/sources.list"):
tools_update(target="system") tools_update(target="system")
upgradable_system_packages = set(list(_list_upgradable_apt_packages())) upgradable_system_packages = list(_list_upgradable_apt_packages())
upgradable_system_packages = [package["name"] for package in upgradable_system_packages]
upgradable_system_packages = set(upgradable_system_packages)
# Lime2 have hold packages to avoid ethernet instability # Lime2 have hold packages to avoid ethernet instability
# See https://github.com/YunoHost/arm-images/commit/b4ef8c99554fd1a122a306db7abacc4e2f2942df # See https://github.com/YunoHost/arm-images/commit/b4ef8c99554fd1a122a306db7abacc4e2f2942df
lime2_hold_packages = set([ lime2_hold_packages = set([