2012-03-30 265 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)。

這可能是林田,所以調用,只會重複它已經給你的信息,但林田可以用幾種不同的方式調用;所以,現在你知道如何手動調用它,你可以閱讀聯機幫助頁和實驗。

如果你做了這些事情,他們會給你更多的信息,讓你得到你的問題的完整解決方案。祝你好運。