有人能帮我解决以下错误吗?当尝试使用 Deja Dup 验证加密备份时,它显示备份失败并返回以下错误:
GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/home/username/.gnupg/secring.gpg' to gpg-agent
gpg: can't open '/home/userrname/.gnupg/secring.gpg': Permission denied
gpg: AES encrypted data
gpg: encrypted with 1 passphrase
===== End GnuPG log =====
答案1
尝试在 18.04 上恢复我的备份时出现同样的错误。我设法找到了一种解决方法,这可能也有助于验证。在命令行上运行:
$ 导出密码 = < 你的密码 >
(在它前面加上一个空格以使你的密码不会出现在你的命令历史记录中,然后我不通过 gui 打开 deja dup,而是通过同一个终端打开它,在我的情况下是:
$deja-dup --restore-missing ~