E: mydeb: wrong-file-owner-uid-or-gid usr/local/ 1001/1001
用lintian 一下; 把目录文件改成 755 ; 还是一样的报错, 这些怎么改呢?
Lintian check results for /home/jackielee/deb/mydeb_1.0.0_all.deb:
E: mydeb: arch-independent-package-contains-binary-or-object usr/local/bin/HelloWorldDir/HelloWorld
E: mydeb: maintainer-address-missing JJL
E: mydeb: wrong-file-owner-uid-or-gid usr/ 1001/1001
E: mydeb: wrong-file-owner-uid-or-gid usr/local/ 1001/1001
E: mydeb: wrong-file-owner-uid-or-gid usr/local/bin/ 1001/1001
E: mydeb: wrong-file-owner-uid-or-gid usr/local/bin/HelloWorldDir/ 1001/1001
E: mydeb: wrong-file-owner-uid-or-gid usr/local/bin/HelloWorldDir/HelloWorld 1001/1001
E: mydeb: wrong-file-owner-uid-or-gid usr/local/bin/HelloWorldDir/HelloWorld.ini 1001/1001
E: mydeb: wrong-file-owner-uid-or-gid usr/share/ 1001/1001
E: mydeb: wrong-file-owner-uid-or-gid usr/share/applications/ 1001/1001
E: mydeb: wrong-file-owner-uid-or-gid usr/share/applications/deb.desktop 1001/1001
E: mydeb: wrong-file-owner-uid-or-gid usr/share/icons/ 1001/1001
E: mydeb: wrong-file-owner-uid-or-gid usr/share/icons/deb.png 1001/1001
deb 打包的程序。 提示 “该软件包质量欠佳” 怎么改?
-
- 帖子: 6
- 注册时间: 2015-05-20 10:43
- 系统: WIN7
- lainme
- 论坛版主
- 帖子: 7805
- 注册时间: 2008-09-13 19:17
- 系统: Arch Linux (x86_64)
- 联系:
Re: deb 打包的程序。 提示 “该软件包质量欠佳” 怎么改?
uid或gid是指文件的所有者和所属组,不是读写权限这些。你用ls -l查查,然后用chown来改。
另外加上maintainer的邮件地址。arch那里也检查下,是不是你选了any。
另外加上maintainer的邮件地址。arch那里也检查下,是不是你选了any。
- susbarbatus
- 帖子: 2966
- 注册时间: 2010-04-10 16:14
- 系统: Arch Linux
-
- 论坛版主
- 帖子: 18279
- 注册时间: 2009-08-04 16:33
Re: deb 打包的程序。 提示 “该软件包质量欠佳” 怎么改?
看看 有沒有幫助
https://help.ubuntu.com/community/Compi ... g_packages
You should then build a common directory for yourself where you'll be building these packages. We recommend creating /usr/local/src, but really you can put it anywhere you want. Make sure this directory is writable by your primary user account, by running
sudo chown $USER /usr/local/src
and, just to be safe
sudo chmod u+rwx /usr/local/src
https://help.ubuntu.com/community/Compi ... g_packages
You should then build a common directory for yourself where you'll be building these packages. We recommend creating /usr/local/src, but really you can put it anywhere you want. Make sure this directory is writable by your primary user account, by running
sudo chown $USER /usr/local/src
and, just to be safe
sudo chmod u+rwx /usr/local/src
- astolia
- 论坛版主
- 帖子: 6703
- 注册时间: 2008-09-18 13:11
Re: deb 打包的程序。 提示 “该软件包质量欠佳” 怎么改?
不知道你是怎么打包的,如果是debuild、dpkg-buildpackage之类从源码打包的应该不会出这个问题。如果是用dpkg-deb来打包的话,建议用fakeroot来执行
-
- 帖子: 6
- 注册时间: 2015-05-20 10:43
- 系统: WIN7
Re: deb 打包的程序。 提示 “该软件包质量欠佳” 怎么改?
多谢各位回复, 是打包可执行程序, 不包含源码。 用QT CREATOR 开发的, 源码打包太麻烦.
用下面方式打包的
用下面方式打包的
代码: 全选
sudo dpkg -b mydeb mydeb_1.0.0_all.deb
- astolia
- 论坛版主
- 帖子: 6703
- 注册时间: 2008-09-18 13:11
Re: deb 打包的程序。 提示 “该软件包质量欠佳” 怎么改?
把sudo换成fakeroot
-
- 帖子: 6
- 注册时间: 2015-05-20 10:43
- 系统: WIN7
Re: deb 打包的程序。 提示 “该软件包质量欠佳” 怎么改?
多谢各位! 这个问题已经解决
chown -R root:root mydeb
chown -R root:root mydeb
-
- 帖子: 131
- 注册时间: 2015-02-15 17:33
- 系统: Ubuntu 12.04
Re: deb 打包的程序。 提示 “该软件包质量欠佳” 怎么改?
有可能是没有按规则将安装包的字节数在control文件中说明