

SEE: 40+ open source and Linux terms you need to know (TechRepublic Premium) How to solve the apt-key error the smart way There are two different methods to fix this. That could cause significant security problems down the road, should a third-party repository contain malicious code.

Should that happen, any unofficial apt repository with a signing key added to /etc/apt/trusted.gpg or /etc/apt/ could replace any package on the system. One of the reasons why apt-key has been deprecated is because it could cause the system to accept signatures from third-party keyholders for all other repositories configured on your system that don’t have a signed-by option. Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.Īlthough the above warning will not prevent you from running the upgrade, the apt-key command has been deprecated and will likely someday fail to work. You open the terminal window and run apt-get update, only to be presented with the following warning: It’s time to update or upgrade your Linux server or desktop, which should be done regularly without fail. How to find and install the new Windows 11 22H2 update

Image: sharafmaksumov/Adobe Stock Must-read developer coverage Jack Wallen shows you how to fix a common apt-key warning when trying to update/upgrade Ubuntu Server or Desktop. How to fix the apt-key deprecated warning in Ubuntu
