在 Linux Mint 17 上安装 LYX&TexLive 并支持希伯来语

在 Linux Mint 17 上安装 LYX&TexLive 并支持希伯来语

我尝试使用“--hebrew”选项运行 install-tl-ubuntu 脚本,然后从存储库安装 LYX 包。当我运行 install-tl-ubuntu 时,我收到以下错误(请参阅原文http://pastebin.com/cQTyhK1q):

~/texliveinst/install-tl-ubuntu $ sudo ./install-tl-ubuntu --hebrew
install-tl-ubuntu: WARNING: this script currently supports Ubuntu 12.04, 12.10, 13.04, 13.10, and 14.04. 
For other versions, one would probably want to use a different 
debian-control-texlive-in.txt file.
install-tl-ubuntu: checking for TeX Live environment variables...
install-tl-ubuntu: running apt and dpkg commands...
install-tl-ubuntu: determining the fastest repository...
install-tl-ubuntu: the fastest repo is: http://www.cstug.cz/ctan/index.html
install-tl-ubuntu: downloading and extracting install-tl for time number 1...

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
install-tl-ubuntu: WARNING: tar failed
install-tl-ubuntu: we will try to restart the download/extract.
install-tl-ubuntu: downloading and extracting install-tl for time number 2...

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
install-tl-ubuntu: WARNING: tar failed
install-tl-ubuntu: we will try to restart the download/extract.
install-tl-ubuntu: downloading and extracting install-tl for time number 3...

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
install-tl-ubuntu: WARNING: tar failed
install-tl-ubuntu: we will try to restart the download/extract.
install-tl-ubuntu: downloading and extracting install-tl for time number 4...

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
install-tl-ubuntu: WARNING: tar failed
install-tl-ubuntu: we will try to restart the download/extract.
install-tl-ubuntu: downloading and extracting install-tl for time number 5...

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
install-tl-ubuntu: WARNING: tar failed
install-tl-ubuntu: we will try to restart the download/extract.
install-tl-ubuntu: downloading and extracting install-tl for time number 6...

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
install-tl-ubuntu: WARNING: tar failed
install-tl-ubuntu: we will try to restart the download/extract.
install-tl-ubuntu: downloading and extracting install-tl for time number 7...

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
install-tl-ubuntu: WARNING: tar failed
install-tl-ubuntu: we will try to restart the download/extract.
install-tl-ubuntu: downloading and extracting install-tl for time number 8...

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
install-tl-ubuntu: WARNING: tar failed
install-tl-ubuntu: we will try to restart the download/extract.
install-tl-ubuntu: downloading and extracting install-tl for time number 9...

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
install-tl-ubuntu: WARNING: tar failed
install-tl-ubuntu: we will try to restart the download/extract.
install-tl-ubuntu: downloading and extracting install-tl for time number 10...

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
install-tl-ubuntu: WARNING: tar failed
install-tl-ubuntu: we will try to restart the download/extract.
install-tl-ubuntu: downloading and extracting install-tl for time number 11...

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
install-tl-ubuntu: WARNING: tar failed
install-tl-ubuntu: ERROR: install-tl failed to download/extract 11 times. Aborting.
install-tl-ubuntu: ERROR: cannot find install-tl dir to cd into.

答案1

快速回答:使用

sudo ./install-tl-ubuntu --hebrew --repository "REPO"

REPO 是从这里选择的一个: http://www.ctan.org/mirrors/

更多详细信息:当镜像无法正常工作时,我找不到可靠的方法来检测它。我认为坏镜像已被删除,如镜像页面所述:

镜子监控

我们会监控镜像以检查其是否为最新。如果镜像落后,mirror.ctan.org 将不会重定向到它,并且它不会列在此页面中。

相关内容