zfsbootmenu on ubuntu 23.04 #29
Replies: 5 comments 1 reply
-
The script hasn’t been tested to work with anything beyond 22.04. But the error mentions pyznap so it looks like the problem is with pyznap and not zfsbootmenu. You might need to reinstall pyznap. You should be able to use the commands as is from the pyznapinstall function of the script. How did you upgrade? |
Beta Was this translation helpful? Give feedback.
-
I was able to get it to work after an upgrade to 23.04 with the following steps:
@Sithuk maybe python3-virtualenv should be made a prequisite or something? |
Beta Was this translation helpful? Give feedback.
-
https://peps.python.org/pep-0668/ it looks like the issue is related to a change in Python 3.11 where it now bitches and moans about "externally managed" packages installed via pip. |
Beta Was this translation helpful? Give feedback.
-
Hi mishac, I picked up on that python issue a few weeks back during testing and addressed it in: New installs shouldn't be affected. However, I can see that those who used a previous version of the script that didn't install the following packages might be. As you know, the major issue with 23.04 at the moment seems to be that the remoteaccess function doesn't work, as per your issue: |
Beta Was this translation helpful? Give feedback.
-
So it looks like I solved the issue with remoteaccess. I've updated issue #18 with the solution. The fix should make the script compatible with 23.04 (and 22.10). |
Beta Was this translation helpful? Give feedback.
-
Hi,
It looks like upgrading to ubuntu 23.04 breaks zfsbootmenu:
Do you want to continue? [Y/n]
Traceback (most recent call last):
File "/usr/local/bin/pyznap", line 5, in
from pyznap.main import main
ModuleNotFoundError: No module named 'pyznap'
E: Problem executing scripts DPkg::Pre-Invoke 'if [ -x /usr/local/bin/pyznap ]; then /usr/local/bin/pyznap snap; fi'
E: Sub-process returned an error code
Has anyone encountered such an issue?
Beta Was this translation helpful? Give feedback.
All reactions