'morning, I'm also affected, I'm not sure since when as I only occasionally receive encrypted emails.
Ubuntu 16.04.5 LTS gpgv 1.4.20-1ubuntu3.3 gnupg-agent 2.1.11-6ubuntu2.1 1) use-agent is active in ~/.gnupg/gpg.conf 2) gpg-agent fails to start due to a missing /run/usr/$UID/gnupg directory (/run/usr/$UID exists) 3) After repair ("mkdir /run/usr/$UID/gnupg"), gpg-agent starts automagically with these arguments: --homedir /home/josef/.gnupg --use-standard-socket --daemon, but still the socket is create in /run/user/UID/gnupg! 4) /etc/X11/Xsession.d/90gpg-agent exists 5) I use KDE (kde-baseapps-bin 4:15.12.3-0ubuntu1, though other KDE packages are 4:5.5.5-0ubuntu1). -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to deja-dup in Ubuntu. https://bugs.launchpad.net/bugs/1700645 Title: gpg-agent not running when needed by Déjà Dup Status in Déjà Dup: Invalid Status in deja-dup package in Ubuntu: Invalid Status in gnupg2 package in Ubuntu: New Bug description: Some have reported problems before with repeated demands for encryption passwords, but mine gives a different error. I've deleted all my previous backups and reinstalled duplicity and deja-dup, but I still get the error: DUPLICITY: . ===== Begin GnuPG log ===== DUPLICITY: . gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect DUPLICITY: . gpg: invalid size of lockfile '/home/username/.gnupg/gnupg_spawn_agent_sentinel.lock' DUPLICITY: . gpg: cannot read lockfile DUPLICITY: . gpg: can't connect to the agent: Invalid argument DUPLICITY: . gpg: problem with the agent: No agent running DUPLICITY: . ===== End GnuPG log ===== DUPLICITY: . DUPLICITY: . DUPLICITY: ERROR 31 GPGError DUPLICITY: . GPGError: GPG Failed, see log below: DUPLICITY: . ===== Begin GnuPG log ===== DUPLICITY: . gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect DUPLICITY: . gpg: invalid size of lockfile '/home/username/.gnupg/gnupg_spawn_agent_sentinel.lock' DUPLICITY: . gpg: cannot read lockfile DUPLICITY: . gpg: can't connect to the agent: Invalid argument DUPLICITY: . gpg: problem with the agent: No agent running DUPLICITY: . ===== End GnuPG log ===== DUPLICITY: . System details: Ubuntu 17.04 deja-dup 34.4-0ubuntu1 duplicity 0.7.06-2ubuntu3 Thank you in advance! To manage notifications about this bug go to: https://bugs.launchpad.net/deja-dup/+bug/1700645/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp