Linux Mint 22 to 22.1 update fails if you are using Wayland
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- linux, python
- Domain
- operating-systems
Research direction
Start by reading /usr/lib/linuxmint/mintUpdate/rel_upgrade.py and rel_upgrade_root.py, then reproduce the Mint 22 to 22.1 upgrade from a Wayland session. Trace how the command arguments are assembled and verify that the upgrade no longer exits with “Missing arguments!” when run under Wayland.
Written by the indexing model from the issue text.
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
Screenshots
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()]
- Dominant language
- Python
- Stars
- 425
- Forks
- 190
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxmint/mintupdate
-
BUG
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
linuxmint/mintupdate#1089 ·
-
BUG
Difficulty 1/5 Under an hour Newbie friendliness 88/100
linuxmint/mintupdate#1062 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
linuxmint/mintupdate#1041 · 1 comment ·
-
FEATURE REQUEST
Difficulty 1/5 Under an hour Newbie friendliness 65/100
linuxmint/mintupdate#910 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
linuxmint/mintupdate#903 ·
All issues in linuxmint/mintupdate
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
zostera/django-bootstrap4#894 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
use-agent-os/agent-os#3276 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
zilliztech/memsearch#759 ·