UPDATE on Xenialpup:
(1) Edited file debian/rules
and disabled dh_shlibdeps
:
root# cd dump1090-fa
# NOTE: I have renamed cloned folder dump1090 to dump1090-fa
#as I have cloned dump1090-mutability also
#and renamed it dump1090-mut
root# nano debian/rules
In file debian/rules
, the last two lines are:
%:
dh $@ --with=systemd
Below last line added following two lines, then Saved & Closed file:
override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
.
(2) Ran build command:
root# dpkg-buildpackage -b -d
dpkg-buildpackage: source package dump1090-fa
dpkg-buildpackage: source version 3.6.3
dpkg-buildpackage: source distribution stable
dpkg-buildpackage: source changed by Oliver Jowett <oliver@mutability.co.uk>
dpkg-buildpackage: host architecture i386
dpkg-source --before-build dump1090-fa
debian/rules clean
dh clean --with=systemd
... ... ... ... ...
... ... ... ... ...
dpkg-gencontrol: warning: Depends field of package dump1090-fa: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
... ... ... ... ...
... ... ... ... ...
dpkg-deb: building package 'dump1090' in '../dump1090_3.6.3_all.deb'.
dpkg-deb --build debian/dump1090-fa ..
dpkg-deb: building package 'dump1090-fa' in '../dump1090-fa_3.6.3_i386.deb'.
dpkg-genchanges -b >../dump1090-fa_3.6.3_i386.changes
dpkg-genchanges: binary-only upload (no source code included)
dpkg-source --after-build dump1090-fa
dpkg-buildpackage: binary-only upload (no source included)
root#
.
(3) Checked
root# cd ../
root# ls
Choices dump1090-fa_3.6.3_i386.changes my-documents
Desktop dump1090-fa_3.6.3_i386.deb network
distro.ibiblio.org dump1090-mut puppy-reference
Downloads File-Sharing spot
dump1090_3.6.3_all.deb ftpd Startup
dump1090-fa my-applications
.
(4) Tried to install
root# dpkg -i dump1090-fa_3.6.3_i386.deb
(Reading database ... 673 files and directories currently installed.)
Preparing to unpack dump1090-fa_3.6.3_i386.deb ...
Unpacking dump1090-fa (3.6.3) over (3.6.3) ...
dpkg: dependency problems prevent configuration of dump1090-fa:
dump1090-fa depends on init-system-helpers (>= 1.18~); however:
Package init-system-helpers is not installed.
dump1090-fa depends on adduser; however:
Package adduser is not installed.
dump1090-fa depends on lighttpd; however:
Package lighttpd is not installed.
dpkg: error processing package dump1090-fa (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
dump1090-fa
.
Do not understand why it says:
init-system-helpers, adduser, and lighttpd not installed.
CHECKED, FOLLOWING PACKAGES ARE INSTALLED:
init-system-helpers_1.29ubuntu4
adduser_3.113+nmu3ubuntu4
lighttpd-dev_1.4.35
.