You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Debian 12 Bookworm通过Snap安装Skype失败求助

Debian 12 Bookworm通过Snap安装Skype失败求助

我注意到你在Debian 12 Bookworm上用Snap安装Skype时遇到了配置钩子执行失败的问题,先把你提供的系统Snap环境状态和具体报错信息整理出来,方便大家一起排查:

首先是当前系统已安装的Snap包列表:

# snap list
Name               Version                     Rev    Tracking       Publisher   Notes
bare               1.0                         5      latest/stable  canonical✓  base
core               16-2.61.2                   16928  latest/stable  canonical✓  core
core18             20240416                    2823   latest/stable  canonical✓  base
gnome-3-28-1804    3.28.0-19-g98f9e67.98f9e67  198    latest/stable  canonical✓  -
gtk-common-themes  0.1-81-g442e511             1535   latest/stable  canonical✓  -
snapd              2.63

然后是执行安装命令时的具体报错:

# time snap install skype
error: cannot perform the following tasks:
- Run configure hook of "skype" snap if present (run hook "configure": 
-----
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "description"
/usr/share/fonts: caching, new cache contents: 0 fonts, 11 dirs
/usr/share/fonts/X11: caching, new cache contents:...

从报错细节来看,问题根源出在Skype Snap的configure钩子执行阶段,伴随的Fontconfig警告是关键线索——你的/etc/fonts/fonts.conf第5行有个当前Fontconfig版本不识别的<description>元素,这大概率干扰了字体缓存生成流程,最终导致钩子执行中断。

给你几个针对性的排查修复方向:

  1. 先手动修复字体配置文件:打开/etc/fonts/fonts.conf,把第5行的<description>相关内容注释或删除,保存后再尝试重新安装Skype。
  2. 重装Fontconfig相关组件,确保依赖是适配Debian 12的最新状态:
    sudo apt update && sudo apt install --reinstall fontconfig fontconfig-config
    
  3. 清理现有字体缓存后,强制重新执行安装:
    fc-cache -r -v
    sudo snap install skype --force
    

备注:内容来源于stack exchange,提问作者AlMa1r

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.16 11:42:59