I have several versions of Ubuntu installed, including 14.04 and 10.04. When I build packages using equivs-build on 14.04, it generates .deb
s that contain .xz
-compressed data. The version of dpkg
on 10.04 cannot understand or install these packages, and so I see errors like this:
dpkg-deb: file `/var/cache/apt/archives/mypackage.deb' contains ununderstood data member data.tar.xz
This answer gives an approach for building Debian packages in general, but it doesn't appear equivs-build gives that level of control; unless I've missed an obvious option?
You may try setting environment variable from
debuild
If
equivs
doesn't usedebuild
when building only binary package (default). Go with full build, as its manpage statedI am building bebian too and I found out how to manage the equivs-contol / -build.
how to include the BINARIES:
2 nd --> open the configuration file generate with equivs-control and modify the option "Files:", remove the hash and be careful of the indentation.
Example:
Files: binary-qt /usr/local/bin/ second-binary-daemon /usr/local/bin/
before "second-binary-daemon" you need a space only and use this indentation for the further files.
And so on.
Done!
for the configuration file and the rough instructions, you need to discover the details, I give you the manual link: Sintax of the equivs-build
Hope will be useful! Brake a leg!
PS: You need to compile the binary first.