我在 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 | grep notepad-plus-plus
:desktop notepad-plus-plus
:desktop-legacy notepad-plus-plus
:home notepad-plus-plus
:network notepad-plus-plus
:opengl notepad-plus-plus
:wayland notepad-plus-plus
:x11 notepad-plus-plus
wine-platform-i386:wine-base-stable notepad-plus-plus:wine-platform-plug
- notepad-plus-plus:cups-control
- notepad-plus-plus:hardware-observe
- notepad-plus-plus:process-control
- notepad-plus-plus:removable-media
更新 2:
snap interfaces wine-platform-i386
Slot Plug
wine-platform-i386:wine-base-devel -
wine-platform-i386:wine-base-stable notepad-plus-plus:wine-platform-plug
wine-platform-i386:wine-base-staging -
根据您的命令输出,插头已notepad-plus-plus:wine-platform-plug连接到插槽wine-platform-i386:wine-base-stable。但强制插头notepad-plus-plus:process-control未连接。
你需要跑
sudo snap connect notepad-plus-plus:process-control
Run Code Online (Sandbox Code Playgroud)
来源: https ://forum.snapcraft.io/t/call-for-testing-notepad-plus-plus/4498
| 归档时间: |
|
| 查看次数: |
9045 次 |
| 最近记录: |