根据如何在 Debian 或 Ubuntu 上安装“原始” TeXLive? 假包裹
$ sudo apt-get install equivs --no-install-recommends
$ mkdir -p /tmp/tl-equivs && cd /tmp/tl-equivs
$ equivs-control texlive-local
我将文件内容更改texlive-local
为https://www.tug.org/texlive/files/debian-equivs-2015-ex.txt
我尝试建立
$ 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
答案1
最简单的方法是,
$ equivs-control texlive-local
$ cp debian-equivs-2015-ex.txt texlive-local
$ equivs-build texlive-local