Comment 1 for bug 1996090

Revision history for this message
Anton Troyanov (troyanov) wrote : Re: Errors during snap refresh from 3.2.6 to 3.3 beta

I can confirm that update doesn't work on bionic, but it worked with focal and jammy.

MAAS installed from 3.2/stable inside LXC container running ubuntu:bionic

root@cosmic-crayfish:~# snap install maas
Download snap "maas" (23947) from channel "3.2/stable"
maas (3.2/stable) 3.2.6-12016-g.19812b4da from Canonical✓ installed

root@cosmic-crayfish:~# snap refresh --channel=3.3/beta maas
error: cannot perform the following tasks:
- Run post-refresh hook of "maas" snap if present (run hook "post-refresh":
-----
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
-----)