如果我在Squeeze(嗯,一个squeezechroot)上构建它,我手工制作的debian包不会安装? 如果我在一个喘息的盒子上构建它,虽然它可以构建可安装的包。
请注意,无论是哪种情况,构建都很好。我使用CMake / CPack生成debian包。
我得到的错误信息是:
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
答案 0 :(得分:0)
由于某些原因,可能是mixer_devices
未包含在创建的deb文件中?
只需执行ar x packagename_1.0.3.deb
并查看tar文件包含的内容。