Open
Description
Describe the bug
Using mintupdate
Update Manager to upgrade from 22 to 22.1 fails with no explaination if you're logged in to a Wayland session
To Reproduce
Steps to reproduce the behavior:
- Login to Mint 22 desktop using Wayland
- Follow usual steps to upgrade to 22.1
Distribution: Linux Mint
Software version: 6.1.5
Logs:
Nothing in logs, however stdout has:
Missing arguments!
Command 'pkexec /usr/bin/mint-release-upgrade-root wilma' returned non-zero exit status 1.
Additional context
The script /usr/lib/linuxmint/mintUpdate/rel_upgrade_root.py
expects two arguments, codename
and window_id
however the previous script /usr/lib/linuxmint/mintUpdate/rel_upgrade.py
only adds the window_id
if the current session is X11:
if os.environ.get("XDG_SESSION_TYPE", "x11") == "x11":
cmd += ["%s" % self.assistant.get_window().get_xid()]