gpg: can't connect to the agent

Questions about Wine on Linux
Locked
Reliance
Newbie
Newbie
Posts: 1
Joined: Fri Feb 01, 2019 8:26 am

gpg: can't connect to the agent

Post by Reliance »

I don't have this problem with any other package. Only Wine:

Code: Select all

% sudo apt-key add winehq.key                                                                                                     
gpg: can't connect to the agent: IPC connect call failed
% gpg --version                                                                                                                  
gpg (GnuPG) 2.2.8
libgcrypt 1.8.3
 ...
% ls -lt /etc/apt/winehq.key                                                                                               
-rw-r--r-- 1 root  root  3.2K Dec 19 16:07 /etc/apt/winehq.key
Locked