我在 stackoverflow 上创建了这个问题,但被否决了。我希望这是正确的社区提问。
我在 Ubuntu 16.04 机器上安装了 notepad-plus-plus。它工作正常。没有明显的原因,它停止工作。图标从应用程序列表中消失。当我启动 shell 脚本 /snap/notepad-plus-plus/current/bin/notepad-plus-plus 时,我收到错误消息:
您需要将此 snap 连接到 wine-platform-i386 snap。
快速连接:wine-platform-plug wine-platform-i386:wine-base-stable
我删除了 snapd (sudo apt autoremove --purge snapd) 并重新安装。同样的行为。我在另一个 Ubuntu 系统上安装了 notepad-plus-plus snap,它运行良好。
如何“连接”notepad-plus-plus snap 到 wine-platform-i386 snap?
系统信息:
~$ snap --version
snap 2.35.4
snapd 2.35.4
series 16
ubuntu 16.04
kernel 4.10.0-14-lowlatency
~$ snap list
Name Version Rev Tracking Publisher Notes
core 16-2.35.4 5662 stable canonical? core
notepad-plus-plus 7.5.9 124 stable mmtrt -
wine-platform-i386 1.0 23 stable mmtrt -
更新:
snap interfaces …
snap ×1