我嘗試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
重新啟動我的計算機,並嘗試更新所有軟體包並再次安裝。現在成功了。我不確定發生了什麼事。我想我永遠不會知道。