Livepatch 在 ubuntu 22.04 中不起作用

Livepatch 在 ubuntu 22.04 中不起作用

sudo ua enable livepatch 得到以下答案

One moment, checking your subscription first
Stderr: internal error, please report: running "canonical-livepatch" failed: cannot find installed snap "canonical-livepatch" at revision 132: missing file /snap/canonical-livepatch/132/meta/snap.yaml
Stdout: 
Unable to configure Livepatch: Failed running command '/snap/bin/canonical-livepatch config remote-server=https://livepatch.canonical.com' [exit(46)]. Message: internal error, please report: running "canonical-livepatch" failed: cannot find installed snap "canonical-livepatch" at revision 132: missing file /snap/canonical-livepatch/132/meta/snap.yaml

ERROR: Unable to configure Livepatch: Failed running command '/snap/bin/canonical-livepatch config remote-server=https://livepatch.canonical.com' [exit(46)]. Message: internal error, please report: running "canonical-livepatch" failed: cannot find installed snap "canonical-livepatch" at revision 132: missing file /snap/canonical-livepatch/132/meta/snap.yaml

答案1

您是否安装了 snap?如果没有,请按照以下步骤操作:

https://snapcraft.io/install/canonical-livepatch/ubuntu

sudo apt update
sudo apt install snapd
sudo snap install canonical-livepatch

相关内容