From b316b9e00d5cd7079bb0495869918ef08f449a9e Mon Sep 17 00:00:00 2001 From: Amadeus Date: Sat, 3 Oct 2026 20:54:52 -0300 Subject: [PATCH] rel_upgrade_root: Import syslog on_removals_finished logs with syslog.syslog() when update-grub fails, but the module never imports syslog. If update-grub is missing or raises, the handler itself fails with NameError, so Gtk.main_quit() and sys.exit(0) are not reached and the upgrade process never exits. Co-Authored-By: Claude Opus 5.5 --- usr/lib/linuxmint/mintUpdate/rel_upgrade_root.py | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/lib/linuxmint/mintUpdate/rel_upgrade_root.py b/usr/lib/linuxmint/mintUpdate/rel_upgrade_root.py index 92b996ea..ec0926ef 100755 --- a/usr/lib/linuxmint/mintUpdate/rel_upgrade_root.py +++ b/usr/lib/linuxmint/mintUpdate/rel_upgrade_root.py @@ -7,6 +7,7 @@ import os import subprocess import sys +import syslog gi.require_version('Gtk', '3.0') from gi.repository import Gtk