Apt-key deprecation warning when updating system
Error
Solution
List existing keys:
From here, export a key:
Note: The
BE1229CF
value comes from the last 8 characters of thepub
code.The following message will likely appear:
Now we can update our apt source file for the repository (e.g.,
/etc/apt/sources.list.d/microsoft.list
), adding asigned-by
tag:Update
apt
to confirm the message is gone:Remove the original signature:
This can be done with each of the warning messages. Once done, apt
will no longer complain.
Last updated