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 is deprecated for Debian 11+ / Ubuntu 22.04+ #506

Open
sophieyfang opened this issue Nov 20, 2023 · 0 comments
Open

apt-key is deprecated for Debian 11+ / Ubuntu 22.04+ #506

sophieyfang opened this issue Nov 20, 2023 · 0 comments

Comments

@sophieyfang
Copy link

debian is deprecating apt-key and replacing it with keyring.
Readings:
https://wiki.debian.org/DebianRepository/UseThirdParty
https://askubuntu.com/questions/1286545/what-commands-exactly-should-replace-the-deprecated-apt-key
https://www.linuxuprising.com/2021/01/apt-key-is-deprecated-how-to-add.html

The recommended way to add repo for apt becomes:

deb [signed-by=/usr/share/keyrings/google-cloud-ops-agent-keyring.gpg] https://packages.cloud.google.com/apt google-cloud-ops-agent-focal-all main

While osconfig-agent add-pkg or add-repo still uses:

deb https://packages.cloud.google.com/apt google-cloud-ops-agent-focal-all main

Is there any plan to update osconfig-agent on it's add repository method?

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