livepatch(Canonical Livepatch 遇到内部错误)

livepatch(Canonical Livepatch 遇到内部错误)

我的 livepatch 上有一个红色标志,上面写着 Canonical Livepatch 遇到了内部错误。请参阅https://wiki.ubuntu.com/Kernel/Livepatch#CommonIssues了解更多信息。

我尝试过刷新,简单的重启和新令牌也都不起作用。谢谢

日志:

Aug 28 23:21:38 rmu-Lenovo-ideapad-330-15IKB canonical-livepatch[912]: Client.Check
Aug 28 23:21:38 rmu-Lenovo-ideapad-330-15IKB canonical-livepatch[912]: error in livepatch check state: check-failed
Aug 28 23:21:38 rmu-Lenovo-ideapad-330-15IKB canonical-livepatch[912]: Module may have caused kernel crash! Not inserting module.
Aug 28 23:21:38 rmu-Lenovo-ideapad-330-15IKB canonical-livepatch[912]: To override this warning, remove /var/snap/canonical-livepatch/common/locks/livepatch_Ubuntu_5_4_0_42_46_generic_70_70.3
Aug 28 23:21:38 rmu-Lenovo-ideapad-330-15IKB canonical-livepatch[912]: during refresh: multiple failures
Aug 28 23:21:38 rmu-Lenovo-ideapad-330-15IKB canonical-livepatch[912]: during refresh: cannot check: apply-failed
Aug 28 23:21:38 rmu-Lenovo-ideapad-330-15IKB canonical-livepatch[912]: during refresh: cannot apply patches: lock file "/var/snap/canonical-livepatch/common/locks/livepatch_Ubuntu_5_4_0_42_46_generic_70_70.3" already exists
Aug 28 23:21:38 rmu-Lenovo-ideapad-330-15IKB canonical-livepatch[912]: error in livepatch check state: check-failed
Aug 28 23:21:38 rmu-Lenovo-ideapad-330-15IKB canonical-livepatch[912]: failure when getting status: apply-failed
Aug 28 23:21:38 rmu-Lenovo-ideapad-330-15IKB canonical-livepatch[912]: failure getting status after refresh: apply-failed

答案1

我刚刚接触 ubuntu 20.04 几天,遇到了同样的问题。

这是一个对我有用的快速解决方案。启动终端并运行

sudo canonical-livepatch refresh

相关内容