Hello Vej, I'm also affected from this bug.
System details: Ubuntu 17.10 deja-dup 36.2-0ubuntu1 duplicity 0.7.12 gpgv 2.1.15-1ubuntu8 Same problem: gpg-agent was not running But: ~/.gnupg/gpg.conf does not contain a use-agent statement (everything is commented out). As I was not able to find any reference on how the default gpg.conf file should look like, I'm note sure if this is supposed to or not. Same solution: starting the agent manually solves the problem. Kind regards -- 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 : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

