我已经通过 Ubuntu Studio 18.04 LTS 中的内置软件应用程序(v 3.28.1,大概是 gnome-software)从 snap 商店安装了三个应用程序(fre:ac、Inkscape 和 Okular)。所有应用程序似乎都安装成功,但没有一个能够启动。当我尝试启动它们时,每个应用程序都会创建一个子目录:$HOME/snap/freac/1234 $HOME/snap/inkscape/7627 $HOME/snap/okular/98 但随后会抱怨“无法创建用户数据目录:...:权限被拒绝”以下是“snap 版本”的输出:
snap 2.44.3
snapd 2.44.3
series 16
ubuntu 18.04
kernel 4.15.0-99-lowlatency
“快照列表”:
Name Version Rev Tracking Publisher Notes
core18 20200427 1754 latest/stable canonical✓ base
freac 1.1.1 1234 latest/stable enzo1982 -
gnome-3-28-1804 3.28.0-16-g27c9498.27c9498 116 latest/stable canonical✓ -
gtk-common-themes 0.1-36-gc75f853 1506 latest/stable canonical✓ -
inkscape 1.0-6e3e5246a0-2020-05-07 7627 latest/stable inkscape✓ -
kde-frameworks-5-qt-5-14-core18 5.68.0 4 latest/stable kde✓ -
okular 20.04.0 98 latest/stable kde✓ -
snapd 2.44.3 7264 latest/stable canonical✓ snapd
和“systemctl status snapd.service”
● snapd.service - Snappy daemon
Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-05-11 10:59:46 CEST; 1h 2min ago
Main PID: 1040 (snapd)
Tasks: 20 (limit: 4915)
CGroup: /system.slice/snapd.service
└─1040 /usr/lib/snapd/snapd
Mai 11 10:59:45 DX5150 systemd[1]: Starting Snappy daemon...
Mai 11 10:59:46 DX5150 snapd[1040]: AppArmor status: apparmor is enabled and all features are available
Mai 11 10:59:46 DX5150 snapd[1040]: AppArmor status: apparmor is enabled and all features are available
Mai 11 10:59:46 DX5150 snapd[1040]: daemon.go:343: started snapd/2.44.3 (series 16; classic) ubuntu/18.04 (amd64) linux/4.15.0-99-lo
Mai 11 10:59:46 DX5150 snapd[1040]: daemon.go:436: adjusting startup timeout by 1m0s (pessimistic estimate of 30s plus 5s per snap)
Mai 11 10:59:46 DX5150 systemd[1]: Started Snappy daemon.
Mai 11 11:13:17 DX5150 snapd[1040]: api.go:985: Installing snap "okular" revision unset
Mai 11 11:24:33 DX5150 snapd[1040]: api.go:985: Installing snap "inkscape" revision unset
我已阅读该主题“Snaps 无法在 Ubuntu 18.04 LTS 上打开“,但是开始了一个新的线程,因为(据我所知)我的系统上从来没有任何可以工作的快照。
我怎样才能让这些应用程序运行,或者至少找出阻止它们的原因?
PS 在我的安装中,$HOME 不指向 /home 的子目录。这可能是导致这些问题的原因吗?