This happens even with a clean install of 3.3/beta on a bionic install:
root@b:~# snap install maas --channel=3.3/beta
2022-11-10T09:07:08Z INFO Waiting for automatic snapd restart...
error: cannot perform the following tasks:
- Run install hook of "maas" snap if present (run hook "install":
-----
Traceback (most recent call last):
File "/snap/maas/24685/bin/maas", line 5, in <module>
from maascli import main
File "/snap/maas/24685/lib/python3.10/site-packages/maascli/__init__.py", line 10, in <module>
from maascli.parser import get_deepest_subparser, prepare_parser
File "/snap/maas/24685/lib/python3.10/site-packages/maascli/parser.py", line 11, in <module>
from maascli import api
File "/snap/maas/24685/lib/python3.10/site-packages/maascli/api.py", line 19, in <module>
import httplib2
File "/snap/maas/24685/usr/lib/python3/dist-packages/httplib2/__init__.py", line 40, in <module>
import ssl
File "/usr/lib/python3.10/ssl.py", line 98, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: /usr/lib/python3.10/lib-dynload/_ssl.cpython-310-x86_64-linux-gnu.so: failed to map segment from shared object
-----)
This happens even with a clean install of 3.3/beta on a bionic install:
root@b:~# snap install maas --channel=3.3/beta 10T09:07: 08Z INFO Waiting for automatic snapd restart... maas/24685/ bin/maas" , line 5, in <module> maas/24685/ lib/python3. 10/site- packages/ maascli/ __init_ _.py", line 10, in <module> subparser, prepare_parser maas/24685/ lib/python3. 10/site- packages/ maascli/ parser. py", line 11, in <module> maas/24685/ lib/python3. 10/site- packages/ maascli/ api.py" , line 19, in <module> maas/24685/ usr/lib/ python3/ dist-packages/ httplib2/ __init_ _.py", line 40, in <module> python3. 10/ssl. py", line 98, in <module> python3. 10/lib- dynload/ _ssl.cpython- 310-x86_ 64-linux- gnu.so: failed to map segment from shared object
2022-11-
error: cannot perform the following tasks:
- Run install hook of "maas" snap if present (run hook "install":
-----
Traceback (most recent call last):
File "/snap/
from maascli import main
File "/snap/
from maascli.parser import get_deepest_
File "/snap/
from maascli import api
File "/snap/
import httplib2
File "/snap/
import ssl
File "/usr/lib/
import _ssl # if we can't import it, let the error propagate
ImportError: /usr/lib/
-----)