我從林田警告和一個錯誤:Debian的林田警告有關非現有的ConfFile
W: openrobertalab: init.d-script-not-marked-as-conffile etc/init.d/openrobertalab
E: openrobertalab: init.d-script-not-included-in-package etc/init.d/openrobertalab
我不明白這裏是沒有這樣的文件etc/init.d/openrobertalab
在我的包:
dpkg --contents openrobertalab_1.3.0-1_amd64.deb | grep etc
drwxr-xr-x root/root 0 2015-09-22 10:53 ./etc/
drwxr-xr-x root/root 0 2015-09-22 10:53 ./etc/dbus-1/
drwxr-xr-x root/root 0 2015-09-22 10:53 ./etc/dbus-1/system.d/
-rw-r--r-- root/root 489 2015-09-22 10:53 ./etc/dbus-1/system.d/openrobertalab.conf
如果我按照lintiants建議,並創建一個debian/openrobertalab.conffiles
上市這個不存在的文件,包構建失敗:
dpkg-deb: error: conffile `etc/init.d/openrobertalab' does not appear in package
dh_builddeb: dpkg-deb --build debian/openrobertalab .. returned exit code 2
make: *** [binary] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
任何想法?
我猜它存在於構建的'etc'目錄中,但不知道哪個精確路徑以及構建過程的哪個階段。我猜你需要增加'debian/rules'才能將它包含在包中。 – tripleee
我搜索了軟件包的臨時目錄,根本沒有etc/init.d:/ – ensonic
爲了解決問題的正確方法,我們需要查看更多的代碼;例如'debian /'的內容(或者是包裝回購的鏈接) –