deja-dup fails due to gpg issue

Bug #1898911 reported by Glenn Brumfield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
deja-dup (Ubuntu)
New
Undecided
Unassigned

Bug Description

Lubuntu 18.04 64-bit with current updates. Backing up to external HDD via USB 3.0.

When attempting backup, I receive an error message stating:

"Backup Failed
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
gpg: AES256 encrypted data
gpg: gcry_kdf_derive failed: Invalid data
gpg: encrypted with 1 passphrase
gpg: decryption failed: No secret key
===== End GnuPG log ==== "

Deja Dup package received a recent update, if I recall correctly. Deja Dup worked correctly up until today.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: deja-dup 37.1-2fakesync1ubuntu0.1
ProcVersionSignature: Ubuntu 4.15.0-118.119-generic 4.15.18
Uname: Linux 4.15.0-118-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.17
Architecture: amd64
CurrentDesktop: LXDE
Date: Wed Oct 7 12:05:28 2020
ExecutablePath: /usr/bin/deja-dup
InstallationDate: Installed on 2018-09-22 (746 days ago)
InstallationMedia: Lubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: deja-dup
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Glenn Brumfield (brumfield-glenn) wrote :
Revision history for this message
Glenn Brumfield (brumfield-glenn) wrote :

After repeated attempts to backup, deja-dup now appears to begin backup successfully, but is unable to verify the backup and repeatedly asks for the passphrase. When passphrase is entered, the verification fails and asks for the passphrase again.

Revision history for this message
Michael Terry (mterry) wrote :

Huh... That first message, I'm not sure I've seen before.

This might be a dup of https://bugs.launchpad.net/duplicity/+bug/1828869 ?

You could test that by installing the snap version of duplicity and uninstalling the distro version:

snap install duplicity --classic
sudo apt remove duplicity

Revision history for this message
Glenn Brumfield (brumfield-glenn) wrote :

A Google search yielded:

https://askubuntu.com/questions/1057627/duplicity-fails-with-bad-session-key-error

which basically blamed the error on a gpg upgrade issue. I don't know how to fix that.

As an experiment I created a new folder (same HDD, same partition, etc.) to back up to. Backed up using the same passphrase as before, and the backup occurred successfully. However, that does not mean I would be able to recover any of the previous backups. Hope that helps.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.