TexLive 2017 中的 getnonfreefonts 安装问题

TexLive 2017 中的 getnonfreefonts 安装问题

我正在尝试从 TeXLive 2017(在 Manjaro Linux 中)中的软件包安装字体getnonfreefonts。与以前的 TeXLive 版本一样,我执行以下操作:

wget http://tug.org/fonts/getnonfreefonts/install-getnonfreefonts
sudo texlua install-getnonfreefonts
cd /usr/local/texlive/2017/bin/x86_64-linux/
sudo ./getnonfreefonts --sys --all

但是,我针对每种字体都收到以下错误消息(我只复制了其中一种):

========================
Package 'vntex-nonfree':
========================

Downloading 'http://vntex.sf.net/fonts/nonfree/vntex-nonfree-3.1.3.zip'
--2017-06-25 07:39:55--  http://vntex.sf.net/fonts/nonfree/vntex-nonfree-3.1.3.zip
Resolving vntex.sf.net... 216.34.181.96
Connecting to vntex.sf.net|216.34.181.96|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://vntex.sourceforge.net/fonts/nonfree/vntex-nonfree-3.1.3.zip [following]
--2017-06-25 07:39:56--  http://vntex.sourceforge.net/fonts/nonfree/vntex-nonfree-3.1.3.zip
Resolving vntex.sourceforge.net... 216.34.181.96
Reusing existing connection to vntex.sf.net:80.
HTTP request sent, awaiting response... 200 OK
Length: 755380 (738K) [application/octet-stream]
Saving to: ‘vntex-nonfree-3.1.3.zip’

vntex-nonfree-3.1.3 100%[==================>] 737.68K   395KB/s    in 1.9s    

2017-06-25 07:40:03 (395 KB/s) - ‘vntex-nonfree-3.1.3.zip’ saved [755380/755380]
                                                                [download done]

Checking integrity of file 'vntex-nonfree-3.1.3.zip'...                [failed]
File 'vntex-nonfree-3.1.3.zip' seems to be broken.  Please try again.

我尝试使用其他 CTAN 镜像,但没有用。有人遇到过类似的问题getnonfreefonts吗?

答案1

根据cfr的建议,我使用了-d-v选项。我注意到安装程序正在寻找该unzip程序,但该程序未安装在我的 Linux 机器上。

Checking integrity of file 'garamondx.tds.zip'...
Can't exec "unzip": No such file or directory at ./getfont.pl line 628, <DATA> line 36.

这就是脚本检查完整性的方式。但是,正常输出不会报告unzip缺失。安装后,一切都很顺利。

相关内容