Ubuntu 22.04 deprecates apt-key; how do I restore access to a repository? #138
-
Hi, after upgrading to Ubuntu 22.04.1 I got an error when I ran sudo apt update -- a message that apt-key was deprecated and I needed to move to a new method. I removed the openvpn3 repository and tried to reinstall it using these commands: sudo wget https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pubd and sudo apt-key add openvpn-repo-pkg-key.pub but got this message: Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). and there's no sign of the respository in Software & Updates. I'm unsure how to proceed. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
https://community.openvpn.net/openvpn/wiki/OpenVPN3Linux already describes the correct method to add repositories without apt-key. Although despite the warnings apt-key is still fully functional in Ubuntu 22.04 so something else must have gone wrong. |
Beta Was this translation helpful? Give feedback.
https://community.openvpn.net/openvpn/wiki/OpenVPN3Linux already describes the correct method to add repositories without apt-key.
Although despite the warnings apt-key is still fully functional in Ubuntu 22.04 so something else must have gone wrong.