在我的货架上的典型活补丁图标开始显示一个红色"!“符号和打开窗口时,我得到错误消息“规范的Livepatch经历了一个内部错误。请参考https://wiki.ubuntu.com/Kernel/Livepatch#CommonIssues获得更多信息。”
我仔细研究了一下,下面是运行以下命令后获得的日志:
-f -t规范-livepatch
Jul 25 23:23:08 castaire-thonkpad canonical-livepatch[1023]: Client.Check
Jul 25 23:23:08 castaire-thonkpad canonical-livepatch[1023]: error in livepatch check state: check-failed
Jul 25 23:23:08 castaire-thonkpad canonical-livepatch[1023]: Module may have caused kernel crash! Not inserting module.
Jul 25 23:23:08 castaire-thonkpad canonical-livepatch[1023]: To override this warning, remove /var/snap/canonical-livepatch/common/locks/livepatch_Ubuntu_5_4_0_39_43_generic_69_69.1
Jul 25 23:23:08 castaire-thonkpad canonical-livepatch[1023]: during refresh: multiple failures
Jul 25 23:23:08 castaire-thonkpad canonical-livepatch[1023]: during refresh: cannot check: apply-failed
Jul 25 23:23:08 castaire-thonkpad canonical-livepatch[1023]: during refresh: cannot apply patches: lock file "/var/snap/canonical-livepatch/common/locks/livepatch_Ubuntu_5_4_0_39_43_generic_69_69.1" already exists
Jul 25 23:23:08 castaire-thonkpad canonical-livepatch[1023]: error in livepatch check state: check-failed
Jul 25 23:23:08 castaire-thonkpad canonical-livepatch[1023]: failure when getting status: apply-failed
Jul 25 23:23:08 castaire-thonkpad canonical-livepatch[1023]: failure getting status after refresh: apply-failedsudo规范-livepatch刷新
checking for patches
nothing to apply
kernel: 5.4.0-39.43-generic
patch state: ✗ the application caused a crash last time it was applied, check system logs with `journalctl -f -t canonical-livepatch`
patch version: 69.1我尝试过进入和删除/var/snap/正则-livepatch/公用/锁中提到的文件,但是即使在重新启动时,仍然会出现相同的错误。
我目前正在运行Ubuntu20.04LTS。
发布于 2020-08-28 20:27:57
Jul 25 23:23:08 castaire-thonkpad canonical-livepatch[1023]: To override this warning, remove /var/snap/canonical-livepatch/common/locks/livepatch_Ubuntu_5_4_0_39_43_generic_69_69.1删除livepatch_Ubuntu_5_4_0_39_43_generic_69_69.1重复sudo canonical-livepatch refresh之后,它对我起了作用。
https://askubuntu.com/questions/1262097
复制相似问题