2012-03-30 262 views
0

我试图从二进制文件和支持文件创建一个.deb文件。它的工作原理,但我创建它之前我得到以下警告:创建.deb文件的权限问题

The installation of a package which violates the quality standards isn't allowed. 
This could cause serious problems on your computer. 
Please contact the person or organisation who provided this package 
file and include the details beneath. 

Lintian check results for /home/javaherd/program-5/debian/program-5_1.4.2_i386.deb: 
E: program-v5: control-interpreter-without-depends control/rules #!/usr/bin/make 
E: program-v5: wrong-file-owner-uid-or-gid usr/local/include/titles.txt 1006/1007 
E: program-v5: wrong-file-owner-uid-or-gid usr/local/include/counties.txt 1006/1007 

我该怎么办才能纠正这种情况?

回答

0

软件相对比较容易打包Debian和Ubuntu,但有点难以正确打包。结果是有很多不正确的封装,非官方的* .deb包裹漂浮在那里。

这是如何解决这个问题。首先,将档案的内容提取到程序dpkg-deb -x program-5_1.4.2_i386.deb program的新目录中。其次,查看新目录程序,看看里面有什么;因为,如果你找到你需要的东西,它可以解决你的问题。最后,应用林田命令到* .deb文件包本身,通过lintian program-5_1.4.2_i386.deb,这很可能会给您提供有关如何包裹被摆在首位(当然mispackaged有用的信息,你可能必须安装首先是lintian)。

这可能是林田,所以调用,只会重复它已经给你的信息,但林田可以用几种不同的方式调用;所以,现在你知道如何手动调用它,你可以阅读联机帮助页和实验。

如果你做了这些事情,他们会给你更多的信息,让你得到你的问题的完整解决方案。祝你好运。