arning: apt-key is deprecated.

Questions about Wine on Linux
Locked
lj87237902-0
Newbie
Newbie
Posts: 2
Joined: Sun Jan 24, 2021 2:09 am

arning: apt-key is deprecated.

Post by lj87237902-0 »

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.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: arning: apt-key is deprecated.

Post by jkfloris »

This is just a warning that apt-key will disappear in the future (after Debian 11).
For now everything still works.
lj87237902-0
Newbie
Newbie
Posts: 2
Joined: Sun Jan 24, 2021 2:09 am

Re: arning: apt-key is deprecated.

Post by lj87237902-0 »

How can I force apt-key usage?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: arning: apt-key is deprecated.

Post by jkfloris »

Apt-key should still work normally.
Do you get an error with sudo apt update
Locked