Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt-key deprecated #2

Open
Dominique-M opened this issue May 9, 2022 · 0 comments
Open

apt-key deprecated #2

Dominique-M opened this issue May 9, 2022 · 0 comments

Comments

@Dominique-M
Copy link

Following the instructions "sudo apt-key add tei-c.pub.key.asc" brings with every "apt update" the message "Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details".

A recent apt-key(8) says "Use of apt-key is deprecated… … will last be available in Debian 11 and Ubuntu 22.04."

I could import the key in the new style by doing "cat tei-c.pub.key.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/tei-c.pub.key.gpg >/dev/null". This converts the key to GPG and simply stores the key as a file in the right folder instead of writing in the deprecated keyring. The command "sudo apt-key del 7B9824DC" removes the deprecated version, but the new one as well. (As shown by "sudo apt-key list".) One should do "apt-key del" before the new style importation of the key.

Somebody should test the above to see that I am not mistaken and then improve the instructions about the key in the TEI Debian packages page.
Maybe the TEI could offer directly a GPG form of the key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant