由于 GPG 签名,无法上传到 PPA

由于 GPG 签名,无法上传到 PPA

我格式化了我的 PC,并尝试将我的应用程序的新版本上传到我的 PPA。但我遇到了下一个问题...

如您所见,我有我的 GPG 密钥,我已在 Launchpad 中上传并确认:

costales@dev:~/Desktop/anoise-0.0.26$ gpg --fingerprint
costales@dev:~/Desktop/anoise-0.0.26$ gpg2 --fingerprint
/home/costales/.gnupg/pubring.kbx
---------------------------------
pub   rsa2048/A0E929E6 2017-06-01 [SC]
      Key fingerprint = 41B4 81ED D84B AAC8 43E1  E72E 34DF 00C2 A0E9 29E6
uid         [ultimate] costales <[email protected]>
sub   rsa2048/959B785C 2017-06-01 [E]

costales@dev:~/Desktop/anoise-0.0.26$

我创建了源(系统没有要求我的私人 GPG 密码):

costales@dev:~/Desktop/anoise-0.0.26$ dpkg-buildpackage -S -sa -rfakerootdpkg-buildpackage: source package anoise
dpkg-buildpackage: source version 0.0.26
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by costales <[email protected]>
 dpkg-source --before-build anoise-0.0.26
 fakeroot debian/rules clean
dh clean 
   dh_testdir
   dh_auto_clean
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
    python setup.py clean -a
running clean
'build/lib.linux-i686-2.7' does not exist -- can't clean it
'build/bdist.linux-i686' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
WARNING: the following files are not recognized by DistUtilsExtra.auto:
  anoise.desktop.in
  po/anoise.pot
    find . -name \*.pyc -exec rm {} \+
   dh_clean
 dpkg-source -b anoise-0.0.26
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format '1.0'
dpkg-source: info: building anoise in anoise_0.0.26.tar.gz
dpkg-source: info: building anoise in anoise_0.0.26.dsc
 dpkg-genchanges -S -sa >../anoise_0.0.26_source.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build anoise-0.0.26
dpkg-buildpackage: source-only upload: Debian-native package
 signfile anoise_0.0.26.dsc

 signfile anoise_0.0.26_source.changes
costales@dev:~/Desktop/anoise-0.0.26$

但我无法上传到我的 PPA:

costales@dev:~/Desktop/anoise-0.0.26$ dput ppa:costales/anoise ../anoise_0.0.26_source.changes 
Checking signature on .changes
gpg: Signature made jue 01 jun 2017 22:14:13 CEST using RSA key ID A0E929E6
gpg: Can't check signature: public key not found
Error verifying signature on ../anoise_0.0.26_source.changes.
costales@dev:~/Desktop/anoise-0.0.26$ 

有什么想法吗?提前致谢!

添加:

anoise_0.0.26_source.changeshttps://paste.ubuntu.com/24741506/

dput --debug ppa:costales/anoisehttps://paste.ubuntu.com/24741500/

答案1

无论出于什么原因,当 GnuPG 尝试验证更改文件上的签名时,它都无法在您的密钥环中找到您自己的公钥。我尝试自己成功运行验证,因此这不是格式错误的更改文件或类似的东西。

作为一种解决方法,您可以dput使用--unchecked标志运行以跳过签名验证。

相关内容