When trying to enable Livepatch with the "Software & Updates" GUI on a derivative of Ubuntu Budgie 18.04, I get the following error message:
Sorry, there's a problem in setting up Canonical Livepatch
I tried to do it manually by using the steps on https://auth.livepatch.canonical.com/ and running the commands, but I get the following:
2018/12/13 11:11:21 error executing enable: This machine ID is already enabled with
a different key or is non-unique.
Either "sudo canonical-livepatch disable" on the other machine, or regenerate
a unique /etc/machine-id on this machine with "sudo rm /etc/machine-id /var/lib/dbus/machine-id && sudo systemd-machine-id-setup"
: {"error": "Conflicting machine-id"}
I am sure I have never set Livepatch up on this laptop. What could the issue be here?
What could be the risks of generating a new machine ID like suggested in the error message? i.e. what other elements of my system could be using the current machine ID?
I solved following this one ( always do bakup of files you edit :D ): https://unix.stackexchange.com/questions/402999/it-is-ok-to-change-etc-machine-id
basically I've done a bakup of
/etc/machine-id
and/var/lib/dbus/machine-id
filesthen I removed the content from
/etc/machine-id
file (using sudo if needed) and I reinitialized the machide ID. Here are the commands