Snapd & certbot on Ubuntu 22.04

Hi!

I tried to install certbot on a Ubuntu 22 VPS and ran in to the following error:

Command: sudo snap install --classic certbot

system does not fully support snapd: cannot mount squashfs image using “squashfs”: mount: /tmp/syscheck-mountpoint-2362379603: mount failed: Operation not permitted.

According to this document https://snapcraft.io/docs/installing-snap-on-ubuntu , it should work right out of the box. What do I miss?

Thank you very much.

Looks like your VPS does not use an Ubuntu kernel and misses support for squashfs filesystems…

Perhaps also see:

What is the output of sudo systemd-detect-virt?

You could try sudo apt install certbot, but it might be somewhat outdated

Yep, it seems its a problem of the VPS (LXC container).
So, I need to switch back to the old option. Thank you very much for your help.