You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading state information... Done
variety is already the newest version (0.8.11~git202310280115.363a76e~ppa974~ubuntu18.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up variety (0.8.11~git202310280115.363a76e~ppa974~ubuntu18.04.1) ...
File "/usr/lib/python3/dist-packages/jumble/Jumble.py", line 43
if (spec := importlib.util.spec_from_file_location(name, path)) is not None:
^
SyntaxError: invalid syntax
dpkg: error processing package variety (--configure):
installed variety package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
variety
E: Sub-process /usr/bin/dpkg returned an error code (1)
The text was updated successfully, but these errors were encountered:
jlu5
changed the title
upgrade 0.8.11~git202310280115.363a76e~ppa974~ubuntu18.04.1 failed, syntax error
v0.8.11 is broken on Ubuntu 18.04 due to too old Python version
Nov 26, 2023
Ok, this is sort of a packaging mistake. 0.8.11 shouldn't have been released for 18.04 because the fix from #652 needs Python >= 3.8.
Is upgrading your Ubuntu install an option? 18.04 is more or less end-of-life, as is Python < 3.8, so I don't see much point in adjusting the code to support these old versions.
this is what I thought... python, I have seen similar issues like that before
just wanted to inform you
yes , I am working on the upgrade to at least 20.04 though several earlier attempts during last couple of years have failed due to multiple additional repos and dependencies, this particular server/ws has been upgraded quite a few time, I think from Ubuntu 12, it is possibly time to reinstall...
thank you for the answer
The text was updated successfully, but these errors were encountered: