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
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

closed as off-topic by cfr, Kurt, barbara beeton, Andrew, Sean Allred Aug 22 '16 at 1:51

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • No problem at all using Ubuntu 14.04. are you sure you made a proper download of the .txt file and copied it to texlive-local (BTW: since you owerwrite the texlive-local file, the equivs-control part is not needed, it just makes a template – daleif Jan 13 '16 at 12:27
  • before building you could to a cat texlive-local and see if the contents is the same as you get if you open the link in a browser – daleif Jan 13 '16 at 12:28
  • @daleif Done the steps again, and it's fine. Don't know what happened previous. – jaquar c Jan 13 '16 at 15:29
  • 1
    I usually blame cosmic radiation – daleif Jan 13 '16 at 15:30
  • 4
    I'm voting to close this question as off-topic because the problem cannot be reproduced (even by the OP - see comments) and the problem has vanished into the ether. Suggested diagnosis is cosmic radiation which is off-topic here but might be of interest on Physics SE. – cfr Aug 22 '16 at 0:29

As a simplest way,

$ equivs-control texlive-local
$ cp debian-equivs-2015-ex.txt texlive-local
$ equivs-build texlive-local
  • 1
    A warm welcome to TeX.SE! – A Feldman Jun 22 '16 at 19:40

Not the answer you're looking for? Browse other questions tagged or ask your own question.