![Snapd 用户会话代理通知](https://linux22.com/image/948760/Snapd%20%E7%94%A8%E6%88%B7%E4%BC%9A%E8%AF%9D%E4%BB%A3%E7%90%86%E9%80%9A%E7%9F%A5.png)
我知道这个讨论:Snapd 用户会话代理 (2)。我的登录屏幕上一直出现此通知:
![](https://i.stack.imgur.com/PxbA2.png)
我做了sudo killall snap-store
以下操作sudo snap refresh snap-store
,一切都是最新的。但我仍然收到这个奇怪的通知:
![](https://i.stack.imgur.com/vLcQ0.png)
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