Created
May 25, 2022 19:34
-
-
Save jc00ke/078cbe23ac56e76ee0a8ee64523b62dc to your computer and use it in GitHub Desktop.
Migrate apt-key to keyrings file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> sudo apt-key list | |
# find last 8 of public signature, for example ABCD EFGH for jc00ke | |
> sudo apt-key export ABCDEFGH | sudo gpg --dearmour -o /usr/share/keyrings/jc00ke.gpg | |
> sudo -H gedit /etc/apt/sources.list.d/jc00ke.list | |
# add [arch=amd64 signed-by=/usr/share/keyrings/jc00ke.gpg] after deb | |
> sudo apt update | |
> sudo apt-key del ABCDEFGH | |
# summarized from https://askubuntu.com/a/1403964 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
from this issue