MX Linux에서 스냅샷 애플리케이션을 실행할 수 없습니다.

MX Linux에서 스냅샷 애플리케이션을 실행할 수 없습니다.

MX Linux 21 KDE에서는 스냅 애플리케이션을 실행할 수 없습니다.

내가 실행할 때 일어나는 일은 다음과 같습니다 snap run authy.

/user.slice/user-1000.slice/session-3.scope is not a snap cgroup

출력은 다음과 같습니다 snap version.

snap    2.56.2
snapd   2.56.2
series  16
debian  11
kernel  5.15.0-3mx-amd64

이는 명령의 출력입니다 sudo systemctl status snapd.

● snapd.service - Snap Daemon
     Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2022-08-02 07:46:11 +06; 23h ago
TriggeredBy: ● snapd.socket
   Main PID: 748 (snapd)
      Tasks: 26 (limit: 18668)
     Memory: 190.0M
        CPU: 18.576s
     CGroup: /system.slice/snapd.service
             └─748 /usr/lib/snapd/snapd

Aug 02 07:46:11 arkabhuiyanhpvictus16 snapd[748]: daemon.go:247: started snapd/2.56.2 (series 16; classic; devmode) debian/11 (amd64) linux/5.15.0-3mx-amd64.
Aug 02 07:46:11 arkabhuiyanhpvictus16 snapd[748]: daemon.go:340: adjusting startup timeout by 1m0s (pessimistic estimate of 30s plus 5s per snap)
Aug 02 07:46:11 arkabhuiyanhpvictus16 systemd[1]: Started Snap Daemon.
Aug 02 07:56:53 arkabhuiyanhpvictus16 snapd[748]: devicemgr.go:1927: no NTP sync after 10m0s, trying auto-refresh anyway
Aug 02 07:56:55 arkabhuiyanhpvictus16 snapd[748]: storehelpers.go:722: cannot refresh: snap has no updates available: "authy", "bare", "core18", "gnome-3-28-1804", "gtk-common-themes", "snapd"
Aug 02 07:56:55 arkabhuiyanhpvictus16 snapd[748]: autorefresh.go:539: auto-refresh: all snaps are up-to-date
Aug 03 03:46:31 arkabhuiyanhpvictus16 snapd[748]: storehelpers.go:722: cannot refresh: snap has no updates available: "authy", "bare", "core18", "gnome-3-28-1804", "gtk-common-themes", "snapd"
Aug 03 03:46:31 arkabhuiyanhpvictus16 snapd[748]: autorefresh.go:539: auto-refresh: all snaps are up-to-date
Aug 03 05:20:06 arkabhuiyanhpvictus16 snapd[748]: api_snaps.go:317: Installing snap "core" revision unset
Aug 03 05:20:41 arkabhuiyanhpvictus16 snapd[748]: api_snaps.go:317: Installing snap "mysql-workbench-community" revision unset

내 시스템에 안정적인 최신 커널이 설치되어 있는 것을 볼 수 있습니다. 그러면 무엇이 문제일 수 있으며 어떻게 해결할 수 있습니까?

전체 systemctl 상태:https://pastebin.ubuntu.com/p/HZtmNBw3r3/

답변1

나는 또한 MX Linux를 사용하고 있으며 일부 Snap에서도 동일한 문제가 발생했습니다. 나를 위한 해결책은 환경 변수를 DBUS_SESSION_BUS_ADDRESS다음과 같이 "수정"하는 것이었습니다.

export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"

원천

관련 정보