这里是 Ubuntu 24.04,snapd 版本是 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?欣赏任何见解。
我收到了这个答复,所以问题已经结束:
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 快照刷新