首页 > 解决方案 > 无法使用 Snap 方法安装 certbot

问题描述

按照 certbot 网站的说明进行操作。

https://snapcraft.io/docs/installing-snap-on-debian

使用此命令时出现错误

> sudo snap install core
error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount:
       /tmp/sanity-mountpoint-575285211: unknown filesystem type 'squashfs'.

我的服务器使用此配置运行

> lsb_release -a                                                                                                                               
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

> uname -mr                                                                                                                                  
4.19.203-xxxx-std-ipv6-64 x86_64

非常感谢

标签: debiancertbotdebian-buster

解决方案


这个问题提供了一个模块 squashfs 它不包含在内核中,以验证这一点:

grep squashfs /proc/filesystems

如果结果为空,则可能未加载该模块。

要验证模块是否存在于您的内核中,您需要执行以下命令:

modprobe squashfs

如果你有错误,那么你的内核不支持'squashfs'模块。


推荐阅读