Skip to content

Instantly share code, notes, and snippets.

@AkashiSN
Created June 8, 2023 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AkashiSN/bee8191b819b7105f3e2489a7929dcad to your computer and use it in GitHub Desktop.
Save AkashiSN/bee8191b819b7105f3e2489a7929dcad to your computer and use it in GitHub Desktop.
fix livepatch motd error

To fix this error,

run-parts: failed to exec /etc/update-motd.d/99-livepatch-kernel-upgrade-required: No such file or directory
run-parts: /etc/update-motd.d/99-livepatch-kernel-upgrade-required exited with return code 1

execute the following command.

sudo cp /snap/canonical-livepatch/current/resources/99-livepatch-kernel-upgrade-required /etc/update-motd.d/99-livepatch-kernel-upgrade-required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment