我正在尝试将我构建的一些包上传debuild
到 PPA,但是失败并显示以下信息:
dput ppa:braiampe/ffc ffc_1.3.20140513-1_i386.changes
Uploading ffc using ftp to ppa (host: ppa.launchpad.net; directory: ~braiampe/ffc/ubuntu)
running supported-distribution: check whether the target distribution is currently supported (using distro-info)
{u'known': [u'release', u'proposed', u'updates', u'backports', u'security'], u'allowed': [u'release']}
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
There are .debs in this upload, and enforcing they don't exist.
我如何将源上传至 PPA?
答案1
问题在于您使用 debuild 来构建 Debian 二进制文件,而不是 Debian 源代码。您应该使用debuild -S
。现在,dput-ng 错误消息太模糊了,但本质上是说有二进制 deb,而您没有强制上传它们。以下是该消息的来源:
if not enforce_debs and has_debs:
raise BinaryUploadError(
"There are .debs in this upload, and enforcing they don't exist."
)