0

My hand-made debian package wont install if i build it on Squeeze (well, a squeezechroot)? If i built it on a wheezy box though it builds installable packages.

Note that it builds fine in either case. Im generating the debian packages using CMake/CPack.

The error message i get is:

user@buildbox:/builddir/packagename# dpkg -i packagename_1.0.3.deb
(Reading database ... 35116 files and directories currently installed.)
Unpacking packagename (from packagename_1.0.3.deb) ...
dpkg: error processing packagename_1.0.3.deb (--install):
 unable to create `/usr/share/packagename/builddir/mixer_devices.txt.dpkg-new' (while processing `./usr/share/packagename/builddir/mixer_devices.txt'): No such file or directory
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 packagename_1.0.3.deb
4

1 回答 1

0

可能mixer_devices由于某种原因未包含在创建的 deb 文件中?

只需执行ar x packagename_1.0.3.deb并查看 tar 文件包含的内容。

于 2012-08-28T15:27:54.913 回答