"Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))."

Questions about Wine on Linux
Locked
Deep_Coder
Newbie
Newbie
Posts: 1
Joined: Tue Jun 29, 2021 11:50 am

"Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))."

Post by Deep_Coder »

Hi

I am installed WineHQ on Debian 10.
I receive the following error message when attempting sudo apt-key add winehq.key:
"Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))."

Can anyone help me with the workaround of the issue? Thank you in advance.
Top
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))."

Post by dimesio »

There's nothing to work around, at least not yet. The command is deprecated, but still works, and is going to be around until April 2022. If you want to jump ahead to the new way, Debian has some instructions in https://wiki.debian.org/DebianRepository/UseThirdParty.
Locked