From 81482d22f243134e9074e0b9a550258ae8e609d3 Mon Sep 17 00:00:00 2001 From: Seth Musker Date: Mon, 30 Mar 2026 10:59:41 +0200 Subject: [PATCH] Clear flatpaks and spices on install cancellation Reset flatpaks and spices lists when installation is cancelled. --- usr/lib/linuxmint/mintUpdate/mintUpdate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/lib/linuxmint/mintUpdate/mintUpdate.py b/usr/lib/linuxmint/mintUpdate/mintUpdate.py index f256f942..0bfaaee3 100755 --- a/usr/lib/linuxmint/mintUpdate/mintUpdate.py +++ b/usr/lib/linuxmint/mintUpdate/mintUpdate.py @@ -2506,6 +2506,8 @@ def on_apt_install_finished(self, transaction=None, exit_state=None): def on_apt_install_cancelled(self): self.logger.write("Install cancelled") self.reboot_required = False + self.flatpaks = [] + self.spices = [] self.set_status("", "", "mintupdate-updates-available-symbolic", True) self.finish_install(False)