Linux 创建.deb文件时出现权限问题

Linux 创建.deb文件时出现权限问题,linux,permissions,package,deb,uid,Linux,Permissions,Package,Deb,Uid,我正在尝试从二进制文件和支持文件创建一个.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 pack

我正在尝试从二进制文件和支持文件创建一个.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

我能做些什么来纠正这种情况呢?

对于Debian和Ubuntu来说,软件相对容易打包,但要正确打包就有些困难了。结果是,有很多包装不正确的、非官方的*.deb包漂浮在那里

下面是如何解决这个问题。首先,通过dpkg deb-x program-5_1.4.2_i386.deb程序将归档文件的内容提取到一个新的目录程序中。第二,查看新的目录程序,看看里面有什么;因为,如果你找到了你需要的东西,它可能会马上解决你的问题。最后,通过
lintian program-5_1.4.2_i386.deb
,将lintian命令应用于*.deb包本身,这可能会为您提供关于包是如何被错误打包的有用信息(当然,您可能必须先安装lintian)

这样调用的林寻可能只会重复它已经给你的信息,但林寻可以用几种不同的方式调用;因此,现在您已经知道如何手动调用它,您可以阅读手册页并进行实验

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