我对deja-dup有个问题。当我尝试对我的服务器进行备份时,它启动备份+- 10秒,然后一次又一次地请求我的加密密码。
我到目前为止所做的:
delete ~/.cache/deja-dup/我试着调试这个问题:
export DEJA_DUP_DEBUG=1
deja-dup --backupDeja-dup开始扫描,然后说它创建了第一次备份,然后debug日志状态:
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: . 据我所知,由于我没有运行arch,所以欺骗性不能打开/etc/pacman.d/gnupg/pubring.gpg是有意义的。
有人想知道为什么/ deja-dup会尝试打开/etc/pacman.d/而不是使用我默认的gpg键环吗?
发布于 2016-08-31 12:53:54
刚刚解决了这个问题,出于某种原因,我的~/.gnupg/gpg.conf "keyring /etc/pacman.d/gnupg/pubring.gpg“中有一行
我评论了一下,现在起作用了。
https://askubuntu.com/questions/802449
复制相似问题