Snapd 用户会话代理通知

Snapd 用户会话代理通知

我知道这个讨论:Snapd 用户会话代理 (2)。我的登录屏幕上一直出现此通知:

我做了sudo killall snap-store以下操作sudo snap refresh snap-store,一切都是最新的。但我仍然收到这个奇怪的通知:

11 天后会发生什么?(昨天是 12 天)。我的电脑会爆炸 :-) ?我每晚都会关掉电脑。说真的,这很烦人,因为我已经检查过所有 snap 包,sudo snap refresh --list所有东西都是最新的。我真的不知道该怎么办。

答案1

我必须找到并停止 snapd 启动的用户进程才能使刷新正常工作:

# stop the system from restarting snapd
sudo systemctl stop snapd
# look for why refresh is failing
sudo snap refresh snap-store
# shows refresh wouldn't work because there was a running process
# kill user process started by snapd
sudo kill <processId from above>
# refresh the snap plugin
sudo snap refresh snap-store
# verify stapd was restarted
sudo systemctl status snapd

相关内容