首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Deja-dup不断询问密码

Deja-dup不断询问密码
EN

Ask Ubuntu用户
提问于 2016-07-24 18:12:50
回答 1查看 1.9K关注 0票数 1

我对deja-dup有个问题。当我尝试对我的服务器进行备份时,它启动备份+- 10秒,然后一次又一次地请求我的加密密码。

我到目前为止所做的:

  • delete ~/.cache/deja-dup/
  • 删除我上传到服务器上的目录,并创建一个新目录。

我试着调试这个问题:

代码语言:javascript
复制
export DEJA_DUP_DEBUG=1
deja-dup --backup

Deja-dup开始扫描,然后说它创建了第一次备份,然后debug日志状态:

代码语言:javascript
复制
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键环吗?

EN

回答 1

Ask Ubuntu用户

发布于 2016-08-31 12:53:54

刚刚解决了这个问题,出于某种原因,我的~/.gnupg/gpg.conf "keyring /etc/pacman.d/gnupg/pubring.gpg“中有一行

我评论了一下,现在起作用了。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/802449

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档