Remove the original signature: sudo apt-key del BE1229CF W: : Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. Update apt to confirm the message is gone: sudo apt update Now we can update our apt source file for the repository (e.g., /etc/apt//microsoft.list), adding a signed-by tag: deb stable main Manage keyring files in instead (see apt-key(8)). The following message will likely appear: Warning: apt-key is deprecated. Note: The BE1229CF value comes from the last 8 characters of the pub code. Uid Microsoft (Release signing) įrom here, we can export a key: sudo apt-key export BE1229CF | sudo gpg -dearmour -o /usr/share/keyrings/microsoft.gpg One way to resolve this is to export the GPG key from the deprecated keyring and store it in /usr/share/keyrings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |