我运行的是带有 regolith 桌面环境的 Ubuntu 20.04。我收到了更新操作系统的通知,并尝试使用“Snap Store”运行更新,但收到“无法更新软件包名称”的提示。
手动运行“snap refresh”会导致以下错误消息:
error: cannot refresh: cannot accept some assertions:
- broken assertion storage, looking for snap-declaration: broken assertion storage, cannot decode assertion: assertion content/signature separator not found
此外,“快照列表”失败,原因如下:
error: cannot list local snaps! cannot find publisher details: broken assertion storage, looking
for snap-declaration: broken assertion storage, cannot decode assertion: assertion
content/signature separator not found
“systemctl status snapd.service” 似乎没问题:
● snapd.service - Snap Daemon
Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-06-24 10:11:07 CEST; 54s ago
TriggeredBy: ● snapd.socket
Main PID: 4471 (snapd)
Tasks: 21 (limit: 16551)
Memory: 20.9M
CGroup: /system.slice/snapd.service
└─4471 /usr/lib/snapd/snapd
Jun 24 10:11:07 stefan-thinkpad systemd[1]: Starting Snap Daemon...
Jun 24 10:11:07 stefan-thinkpad snapd[4471]: AppArmor status: apparmor is enabled and all features are available
Jun 24 10:11:07 stefan-thinkpad snapd[4471]: AppArmor status: apparmor is enabled and all features are available
Jun 24 10:11:07 stefan-thinkpad snapd[4471]: daemon.go:343: started snapd/2.45 (series 16; classic) ubuntu/20.04 (amd64) linux/5.4.0-37-generic.
Jun 24 10:11:07 stefan-thinkpad snapd[4471]: daemon.go:436: adjusting startup timeout by 1m40s (pessimistic estimate of 30s plus 5s per snap)
Jun 24 10:11:07 stefan-thinkpad systemd[1]: Started Snap Daemon.
知道是什么原因导致了这个问题吗?