
Ich habe canonical-livepatch ausgeführt, aber es zeigt die unten stehenden Fehlermeldungen an. Zuerst versuchte es ein Update mit dem Fehler cannot apply patches: cannot apply update: cannot execute finitModule syscall: required key not available
. Nach diesem Fehler weigert es sich, erneut einen Update-Versuch durchzuführen.
Was könnte das Problem beim Anwenden des Updates sein? Ich konnte nichts zu dieser Fehlermeldung finden.
Ich verwende Ubuntu 18.04.2 LTS.
$ journalctl -t canonical-livepatch
[...]
Jun 17 23:11:24 callisto canonical-livepatch[1183]: Client.Check
Jun 17 23:11:24 callisto canonical-livepatch[1183]: Checking with livepatch service.
Jun 17 23:11:24 callisto canonical-livepatch[1183]: updating last-check
Jun 17 23:11:24 callisto canonical-livepatch[1183]: touched last check
Jun 17 23:11:24 callisto canonical-livepatch[1183]: Applying update 52.3 for 4.15.0-51.55-generic
Jun 17 23:11:24 callisto canonical-livepatch[1183]: during refresh: cannot apply patches: cannot apply update: cannot execute finitModule syscall: required key not available
Jun 18 00:11:24 callisto canonical-livepatch[1183]: Client.Check
Jun 18 00:11:24 callisto canonical-livepatch[1183]: Checking with livepatch service.
Jun 18 00:11:24 callisto canonical-livepatch[1183]: updating last-check
Jun 18 00:11:24 callisto canonical-livepatch[1183]: touched last check
Jun 18 00:11:24 callisto canonical-livepatch[1183]: No updates available at this time.
Jun 18 00:11:24 callisto canonical-livepatch[1183]: Module may have caused kernel crash! Not inserting module.
Jun 18 00:11:24 callisto canonical-livepatch[1183]: To override this warning, remove /var/snap/canonical-livepatch/common/locks/livepatch_Ubuntu_4_15_0_51_55_generic_52_52.3
Jun 18 00:11:24 callisto canonical-livepatch[1183]: during refresh: cannot apply patches: lock file "/var/snap/canonical-livepatch/common/locks/livepatch_Ubuntu_4_15_0_51_55_generic_52_52.3" already exists
Antwort1
Das Problem scheint zu sein, dass Sie Secure Boot aktiviert haben und den Livepatch-Schlüssel nicht importiert haben:https://bugs.launchpad.net/canonical-livepatch-client/+bug/1833566
Du kannstscheinbarbeheben Sie dies, indem Sie Folgendes ausführen:
sudo mokutil --import /snap/canonical-livepatch/current/keys/livepatch-kmod.x509
(das eingegebene Passwort wird nur einmal verwendet)
Führen Sie anschließend einen Neustart durch und folgen Sie den Anweisungen zum Importieren des Schlüssels.