我正在尝试使用texlive-full
以下命令在 Ubuntu 18.04.3 LTS 上安装:
apt install texlive-full
所有必需的软件包都已下载。当它开始设置软件包时,它会kpsewhich
在后台启动程序并等待其完成。但它永远不会退出,并且占用了 100% 的 CPU。我把电脑开着一整晚,早上它还在运行。如果我终止该kpsewhich
进程,它就会重新启动。如果我再终止它大约 3 次,则会apt
显示以下内容:
Terminated
Terminated
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.
Terminated
Terminated
Can't use string ("2") as an ARRAY ref while "strict refs" in use at /usr/bin/tl-paper line 112.
dpkg: error processing package texlive-base (--configure):
如果我重试相同的apt
命令,它会再次执行完全相同的操作。需要很长时间的完整命令行如下:
kpsewhich --progname=pdftex --format=tex pdftexconfig.tex
我该如何安装texlive
?
更新
输出apt-cache policy texlive-full texlive-binaries
:
texlive-full:
Telepítve: 2017.20180305-1
Jelölt: 2017.20180305-1
Verziótáblázat:
*** 2017.20180305-1 500
500 http://hu.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://hu.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
100 /var/lib/dpkg/status
texlive-binaries:
Telepítve: 2017.20170613.44572-8ubuntu0.1
Jelölt: 2017.20170613.44572-8ubuntu0.1
Verziótáblázat:
*** 2017.20170613.44572-8ubuntu0.1 500
500 http://hu.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
100 /var/lib/dpkg/status
2017.20170613.44572-8build1 500
500 http://hu.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
输出kpsewhich --version
:
kpathsea version 6.2.3
Copyright 2017 Karl Berry & Olaf Weber.
License LGPLv2.1+: GNU Lesser GPL version 2.1 or later <http://gnu.org/licenses/lgpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
输出which kpsewhich
:
/usr/bin/kpsewhich
更新2
重启电脑,尝试更新所有软件包并再次安装。现在成功了。我不知道发生了什么。我想我永远也找不到答案了。