Comment 2 for bug 1996090

Revision history for this message
Alberto Donato (ack) wrote : Re: Errors during snap refresh from 3.2.6 to 3.3 beta

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
-----)