这里是 Ubuntu 24.04,快照版本 2.62。每次我启动时,日志中都会出现这个,Task "refresh" returned an error: livepatch check failed: POST request to "https://livepatch.canonical.com/v1/client/"ID"/updates" failed, retrying in 30s.
查看日志
journalctl -f -t canonical-livepatch.canonical-livepatchd
May 02 08:04:39 Desktop canonical-livepatch.canonical-livepatchd[1532]: Failed to refresh patch information: livepatch check failed: POST request to "https://livepatch.canonical.com/v1/client/"ID"/updates" failed.
May 02 08:04:39 Desktop canonical-livepatch.canonical-livepatchd[1532]: Task "refresh" returned an error: livepatch check failed: POST request to "https://livepatch.canonical.com/v1/client/"ID"/updates" failed, retrying in 30s.
May 02 08:05:09 Desktop canonical-livepatch.canonical-livepatchd[1532]: Client information is recent, not refreshing.
May 02 08:05:09 Desktop canonical-livepatch.canonical-livepatchd[1532]: Error in livepatch check state: check-failed.
May 02 08:05:10 Desktop canonical-livepatch.canonical-livepatchd[1532]: Task "refresh" completed succesfully after 1 retries.
May 02 08:22:03 Desktop canonical-livepatch.canonical-livepatchd[1532]: Client information is recent, not refreshing.
May 02 08:22:03 Desktop canonical-livepatch.canonical-livepatchd[1532]: Processing machine status.
May 02 08:22:03 Desktop canonical-livepatch.canonical-livepatchd[1532]: Sending status update the livepatch server.
May 02 08:22:03 Desktop canonical-livepatch.canonical-livepatchd[1532]: No updates available at this time.
May 02 08:22:03 Desktop canonical-livepatch.canonical-livepatchd[1532]: No patch payload available.
当我尝试在 Firefox 中发布请求时,我得到了Method Not Allowed
canonical-livepatch status
last check: 6 minutes ago
kernel: 6.8.0-31.31-generic
server check-in: succeeded
kernel state: ✓ kernel series 6.8 is covered by Livepatch
patch state: ✓ no livepatches available for kernel 6.8.0-31.31-generic
tier: updates (Free usage; This machine beta tests new patches.)
machine id:
我需要了解这一点,是不是因为测试版的原因,因为客户端是 24.04,我可以安装一个稳定的版本吗,这似乎接近我的错误https://bugs.launchpad.net/snapd/+bug/2044335? 感谢任何见解。
答案1
我收到了这个答复,所以这件事已经结束了:
https://ubuntu.com/security/livepatch/docs/livepatch/explanation/howitworks https://ubuntu.com/security/livepatch/docs/livepatch/reference/kernels
Ubuntu 24.04 Noble 尚未为 livepatch 设置任何支持的内核。要刷新 Ubuntu,请打开终端。sudo snap refresh