Corrigido o problema, por alguma razão, havia uma linha no meu ~ / .gnupg / gpg.conf "keyring /etc/pacman.d/gnupg/pubring.gpg"
Que eu comentei e agora funciona.
Eu tenho um problema com deja-dup
. Quando tento fazer um backup em um servidor meu, inicio o backup por + - 10 segundos e, em seguida, peço minha senha de criptografia repetidamente.
O que eu fiz até agora:
delete ~/.cache/deja-dup/
Eu tentei depurar o problema:
export DEJA_DUP_DEBUG=1
deja-dup --backup
O Deja-dup começa a escanear, depois diz que está criando o primeiro backup após o qual o log de depuração informa:
DUPLICITY: INFO 1
DUPLICITY: . GPG error detail: Traceback (most recent call last):
DUPLICITY: . File "/usr/bin/duplicity", line 1532, in <module>
DUPLICITY: . with_tempdir(main)
DUPLICITY: . File "/usr/bin/duplicity", line 1526, in with_tempdir
DUPLICITY: . fn()
DUPLICITY: . File "/usr/bin/duplicity", line 1380, in main
DUPLICITY: . do_backup(action)
DUPLICITY: . File "/usr/bin/duplicity", line 1496, in do_backup
DUPLICITY: . full_backup(col_stats)
DUPLICITY: . File "/usr/bin/duplicity", line 567, in full_backup
DUPLICITY: . globals.backend)
DUPLICITY: . File "/usr/bin/duplicity", line 425, in write_multivol
DUPLICITY: . at_end = gpg.GPGWriteFile(tarblock_iter, tdp.name, globals.gpg_profile, globals.volsize)
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 356, in GPGWriteFile
DUPLICITY: . file.close()
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 241, in close
DUPLICITY: . self.gpg_failed()
DUPLICITY: . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 226, in gpg_failed
DUPLICITY: . raise GPGError(msg)
DUPLICITY: . GPGError: GPG Failed, see log below:
DUPLICITY: . ===== Begin GnuPG log =====
DUPLICITY: . gpg: keyblock resource '/etc/pacman.d/gnupg/pubring.gpg': file open error
DUPLICITY: . ===== End GnuPG log =====
DUPLICITY: .
DUPLICITY: .
DUPLICITY: ERROR 31 GPGError
DUPLICITY: . GPGError: GPG Failed, see log below:
DUPLICITY: . ===== Begin GnuPG log =====
DUPLICITY: . gpg: keyblock resource '/etc/pacman.d/gnupg/pubring.gpg': file open error
DUPLICITY: . ===== End GnuPG log =====
DUPLICITY: .
Até onde eu sei, faz sentido que a duplicidade não possa abrir /etc/pacman.d/gnupg/pubring.gpg
, já que não estou executando o arco.
Alguém tem alguma sugestão de porque a duplicidade /
deja-dup tenta abrir /etc/pacman.d/
em vez de usar o meu chaveiro padrão gpg?
Corrigido o problema, por alguma razão, havia uma linha no meu ~ / .gnupg / gpg.conf "keyring /etc/pacman.d/gnupg/pubring.gpg"
Que eu comentei e agora funciona.