debian - 无法使用 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
非常感谢
解决方案
这个问题提供了一个模块 squashfs 它不包含在内核中,以验证这一点:
grep squashfs /proc/filesystems
如果结果为空,则可能未加载该模块。
要验证模块是否存在于您的内核中,您需要执行以下命令:
modprobe squashfs
如果你有错误,那么你的内核不支持'squashfs'模块。
推荐阅读
- spring - 在 Spring Reactor 中获取对上下文的引用
- c# - WCF - 使用命名空间对服务进行版本控制时生成平面 WSDL 时出错
- python - TypeError:使用 Otsu 阈值的内置操作的参数类型错误
- matlab - 在 fprintf 中迭代数字
- openstreetmap - OpenMapTiles 身份验证不起作用
- c# - 检查表单是否位于其他窗口后面
- objective-c - 在 Objective-C 中添加整数从控制台获取用户输入
- python - 线程相关问题 - Python 3 (Discord bot)
- python - 为什么我的程序停止为大值工作?
- vba - VBA按钮单击有时会起作用