Closed Den-of-Bees closed 3 months ago
followed direction, updated and removed foreign packages prior to upgrade attempt
Happened to me too. Workaround was to comment the whole dbus_method_callback
method (lines 764 to 774) and press Check again
button
Given that match/case was introduced at Python 3.10 and maybe upgrade tool is using a prior Python version?
I encountered this while upgrading LMDE 5 to 6 in VirtualBox. The simplest solution I found was to remove the sticky
package before starting the upgrade and re-install it afterwards.
LMDE 5 came with Python 3.9 while LMDE 6 has 3.11. I'm guessing mintupgrade
not only decided to upgrade sticky
before python3
, but also tried to run the new sticky
during the upgrade process, causing Python 3.9 to throw the syntax error.
I added a PR to sticky that may fix this :rocket:
While awaiting a fix for this bug to be adopted, could there be a warning about it, and a suggested work-around, posted in the Release Notes? https://linuxmint.com/rel_faye.php
The work-around of simply removing sticky before the upgrade, and then reinstalling it after the upgrade, is easy enough for non-expert users to accomplish, but is not likely to be discovered until the attempt to upgrade fails. I believe it would not occur to most users to consult the issue tracker for the minutupgrade package before attempting an upgrade.
While awaiting a fix for this bug to be adopted, could there be a warning about it, and a suggested work-around, posted in the Release Notes? https://linuxmint.com/rel_faye.php
The work-around of simply removing sticky before the upgrade, and then reinstalling it after the upgrade, is easy enough for non-expert users to accomplish, but is not likely to be discovered until the attempt to upgrade fails. I believe it would not occur to most users to consult the issue tracker for the minutupgrade package before attempting an upgrade.
I don't think so. It's just for the team to get attention to this, if they can add that to the release notes, they can also merge the pull request. It's all in the linuxmint org, sticky too.
Also affected by this problem, removing sticky package solve the problem
Setting up sticky (1.19) ... File "/usr/lib/sticky/sticky.py", line 765 match method_name: ^ SyntaxError: invalid syntax