程序包创建错误

程序包创建错误

我正在尝试构建软件包,遇到了一点麻烦。设置好一切后,我运行

dch -i

并将变更日志编辑如下:

packagekit-qt (0.9.5-2ubuntu2) wily; urgency=medium

  * A new package

 -- Ranveer Aggarwal <[email protected]>  Wed, 27 May 2015 21:26:46 +0530

packagekit-qt (0.8.8-2ubuntu1) saucy; urgency=low

  * Merge from Debian unstable (LP: #1217699). Remaining changes:
    + Add alternative recommendation of python3-aptdaemon.pkcompat

 -- Sebastian Heinlein <[email protected]>  Wed, 28 Aug 2013 07:14:56 +0200

packagekit-qt (0.8.8-2) unstable; urgency=low

  * Upload to unstable

 -- Matthias Klumpp <[email protected]>  Sun, 23 Jun 2013 22:42:21 +0200

packagekit-qt (0.8.8-1) experimental; urgency=low

  * New upstream release: 0.8.8
  * Do not depend on system-interface virtual package
  * Adjust packaging to SONAME bump

 -- Matthias Klumpp <[email protected]>  Tue, 04 Jun 2013 14:50:38 +0200

packagekit-qt (0.8.7-2) experimental; urgency=low

  * New upstream release: 0.8.7

 -- Matthias Klumpp <[email protected]>  Tue, 19 Mar 2013 20:34:27 +0100

packagekit-qt (0.8.6-1) unstable; urgency=low

  * Initial release (Closes: #468132)

 -- Matthias Klumpp <[email protected]>  Sun, 02 Dec 2012 22:17:35 +0100

然后我就跑了

debuild

但是,我遇到了以下错误:

This package has a Debian revision number but there does not seem to be
an appropriate original tar file or .orig directory in the parent directory;
(expected one of packagekit-qt_0.9.5.orig.tar.gz, packagekit-qt_0.9.5.orig.tar.bz2,
packagekit-qt_0.9.5.orig.tar.lzma,  packagekit-qt_0.9.5.orig.tar.xz or new.orig)
continue anyway? (y/n) y
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package packagekit-qt
dpkg-buildpackage: source version 0.9.5-2ubuntu2
dpkg-buildpackage: source distribution wily
dpkg-buildpackage: source changed by Ranveer Aggarwal <[email protected]>
 dpkg-source --before-build new
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --parallel
   dh_testdir -O--parallel
   dh_auto_clean -O--parallel
   dh_clean -O--parallel
 dpkg-source -b new
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../packagekit-qt_0.9.5.orig.tar.{bz2,gz,lzma,xz}
dpkg-buildpackage: error: dpkg-source -b new gave error exit status 255
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failed

ls在我的主目录中执行此操作将返回以下内容:

debian  packagekit-qt_0.9.5.orig.tar.xz

我可能哪里做错了?

答案1

tarball 应该位于 的祖父母目录中debian。布局应如下所示:

  • foo->packagekit-qt->debian
  • foo->packagekit-qt_0.9.5.orig.tar.xz

做任何与有关的事情packagekit-qt

相关内容