-
Notifications
You must be signed in to change notification settings - Fork 35
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
Update README.md #63
base: main
Are you sure you want to change the base?
Update README.md #63
Conversation
Fix apt-key deprecation warning on latest ubuntu 22.04.
Remove unnecessary line.
# When you get message "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))." | ||
# use command: | ||
# curl -L https://packagecloud.io/gbt/release/gpgkey | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/gbt.gpg >/dev/null | ||
curl -L https://packagecloud.io/gbt/release/gpgkey | sudo apt-key add - |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we do that for any Ubuntu distro version by default?
# When you get message "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))." | |
# use command: | |
# curl -L https://packagecloud.io/gbt/release/gpgkey | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/gbt.gpg >/dev/null | |
curl -L https://packagecloud.io/gbt/release/gpgkey | sudo apt-key add - | |
curl -L https://packagecloud.io/gbt/release/gpgkey | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/gbt.gpg >/dev/null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure - I have this problem only on latest LTS 22.04.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to have one solution only that will just work across all Ubuntu releases. Please could you use the above across few latest Ubuntu versions (14, 16, 18, 20, 22)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I try check this with docker ubuntu images, but this is probably not good idea, because this are striped out. I don't get any warning in ubuntu:22.04.
But I read deprecation information in man page for apt-key:
Long story short - probably is safe use old command in Ubuntu/Debian <= 22.04/11 but newer version should use gpg. I understand, have one solution is better, but Ubuntu do not make this easy :-), especially when user (like me) hate warning when use commands :-).
Fix apt-key deprecation warning on latest ubuntu 22.04.