Ubuntu 22.04下多数Snap应用无法启动的问题求助
Ubuntu 22.04下多数Snap应用无法启动的问题求助
嘿各位,我最近碰到个大麻烦,想请大家支支招!我用Ubuntu 22.04已经三个月了,最近大部分Snap应用都打不开——Firefox、VS Code、软件中心这些常用的都没反应,只有Chrome这类非Snap的软件能正常运行,我的工作全靠这台笔记本,急死我了😭
具体问题细节
当我尝试打开Firefox时,图形界面完全没动静,于是我用终端启动它,得到了这个错误:
cannot perform operation: mount --rbind /dev/tmp/snap.rootfs_wq9l51//dev: No such file or directory
我试着运行sudo snap refresh,结果只有一个应用更新了,输出是:
notion-snap-reborn 1.0.28 from Maxime (sunshio) refreshed
为了排查问题,我运行了snap list --all,输出里能看到很多核心Snap包和应用都标记为broken或disabled,具体如下:
Name Version Rev Tracking Publisher Notes bare 1.0 5 latest/stable canonical✓ base code 0ee08df0 148 latest/stable vscode✓ classic code - 147 latest/stable vscode✓ disabled,broken core18 - 2796 latest/stable canonical✓ disabled,broken core18 - 2812 latest/stable canonical✓ broken core20 - 2015 latest/stable canonical✓ disabled,broken core20 - 2105 latest/stable canonical✓ broken core22 20230801 864 latest/stable canonical✓ base,disabled core22 - 1033 latest/stable canonical✓ broken discord 0.0.39 172 latest/stable snapcrafters✪ - discord - 171 latest/stable snapcrafters✪ disabled,broken figma-linux 0.11.1 178 latest/stable youdonthavepermissiony - firefox 121.0-1.1 3600 latest/stable mozilla✓ - firefox 120.0.1-1 3506 latest/stable mozilla✓ disabled gnome-3-28-1804 - 198 latest/stable canonical✓ broken gnome-3-38-2004 0+git.efb213a 143 latest/stable/… canonical✓ - gnome-42-2204 0+git.ff35a85 120 latest/stable/… canonical✓ disabled gnome-42-2204 0+git.ff35a85 141 latest/stable/… canonical✓ - gtk-common-themes 0.1-81-g442e511 1535 latest/stable/… canonical✓ - jupyter 1.0.0 6 latest/stable projectjupyter✓ - mesa-core22 23.0.4 231 latest/stable canonical✓ - notion-snap-reborn 1.0.27 26 latest/stable sunshio - notion-snap-reborn - 25 latest/stable sunshio disabled,broken obsidian 1.4.16 21 latest/stable obsidianmd disabled,classic obsidian 1.5.3 22 latest/stable obsidianmd classic qt5-core20 20.04 15 latest/stable keshavnrj✪ - snap-store 41.3-71-g709398e 959 latest/stable/… canonical✓ disabled snap-store 0+git.e118b05 1046 latest/stable/… canonical✓ - snapd 2.60.4 20290 latest/stable canonical✓ snapd snapd - 19457 latest/stable canonical✓ disabled,broken snapd-desktop-integration 0.9 83 latest/stable/… canonical✓ - telegram-desktop 4.12.2 5305 latest/stable telegram-desktop✓ - telegram-desktop - 5248 latest/stable telegram-desktop✓ disabled,broken utube 2.1 55 latest/stable keshavnrj✪ - warzone2100-videos - 3 latest/stable warzone-2100-project broken zoom-client 5.16.6.382 218 latest/stable ogra
我已经试过的操作
- 运行
sudo snap refresh,但只有notion-snap-reborn完成了更新,其他应用的问题依旧存在 - 尝试从终端启动Firefox,得到了上述挂载错误
有没有朋友遇到过类似的情况?或者有什么修复Snap核心组件、解决挂载问题的办法?麻烦大家给点建议,谢谢啦!
备注:内容来源于stack exchange,提问作者Tarek TAREK




