![上传的软件包未显示在我的 Launchpad PPA 中](https://linux22.com/image/1069937/%E4%B8%8A%E4%BC%A0%E7%9A%84%E8%BD%AF%E4%BB%B6%E5%8C%85%E6%9C%AA%E6%98%BE%E7%A4%BA%E5%9C%A8%E6%88%91%E7%9A%84%20Launchpad%20PPA%20%E4%B8%AD.png)
我为 Launchpad PPA 创建了一个包,并想将其上传到 Launchpad。我使用了dput
命令,结果如下:
tomica@home:~/Desktop$ dput ppa:{MY_LAUNCHPAD}/ppa packagename_0.0.1_source.changes
Uploading packagename using ftp to ppa (host: ppa.launchpad.net; directory: ~{MY_LAUNCHPAD}/ppa)
running supported-distribution: check whether the target distribution is currently supported (using distro-info)
{'allowed': ['release'], 'known': ['release', 'proposed', 'updates', 'backports', 'security']}
running required-fields: check whether a field is present and non-empty in the changes file
running checksum: verify checksums before uploading
running suite-mismatch: check the target distribution for common errors
running check-debs: makes sure the upload contains a binary package
running gpg: check GnuPG signatures before the upload
Uploading packagename_0.0.1.dsc
Uploading packagename_0.0.1.tar.gz
Uploading packagename_0.0.1_source.buildinfo
Uploading packagename_0.0.1_source.changes
tomica@home:~/Desktop$
我以为这意味着我的上传成功了。然而,当我访问我的 PPA 时,它是空的。 这是为什么?
如果我尝试再次上传我的包,我会得到以下结果:
tomica@home:~/Desktop$ dput ppa:{MY_LAUNCHPAD}/ppa packagename_0.0.1_source.changes
Package packagename was already uploaded to ppa
If you want to upload nonetheless, use --force or remove packagename_0.0.1_source.ppa.upload
tomica@home:~/Desktop$
这意味着我的包应该是可见且可访问的,但事实并非如此。我做错了什么?
答案1
为了方便将来参考,以下是解释:
- 该软件包被拒绝,因为 Launchpad 构建器无法解析
debian/control
文件中“Maintainer”字段中的非拉丁名称。这被视为一个错误,并在此处报告:https://bugs.launchpad.net/launchpad/+bug/1910403 - 由于同样的错误,通知电子邮件没有发送,所以我不知道原因是什么。
为了澄清这一点,我得到了https://answers.launchpad.net/launchpad/+question/694768。@ArchismanPanigrahi 非常感谢您建议在那里提问。