According to How to install "vanilla" TeXLive on Debian or Ubuntu? Fake packages
$ sudo apt-get install equivs --no-install-recommends
$ mkdir -p /tmp/tl-equivs && cd /tmp/tl-equivs
$ equivs-control texlive-local
I change the content of texlive-local file to https://www.tug.org/texlive/files/debian-equivs-2015-ex.txt
and I try to build
$ equivs-build texlive-local
dh_testdir
dh_testroot
dh_prep
sh: 1: cannot open package: No such file
sh: 1: defaults: not found
dh_prep: rm -f debian/<package name; defaults to equivs-dummy>.*.debhelper returned exit code 127
make: *** [install] Error 25
Error in the build process: exit status 2
.txtfile and copied it totexlive-local(BTW: since you owerwrite thetexlive-localfile, theequivs-controlpart is not needed, it just makes a template – daleif Jan 13 '16 at 12:27cat texlive-localand see if the contents is the same as you get if you open the link in a browser – daleif Jan 13 '16 at 12:28dpkg -l equivsanddpkg -L equivs– norbert Jan 14 '16 at 01:44