最新的 MiKTeX 更新要求在安装后运行额外的配置步骤。他们的网站现在表示用户必须运行miktexsetup finish
才能真正完成安装。现在,当我执行该命令时,我收到以下错误:
219548 [.libmpm]: initializing MPM library version 2.9.6584
219716 [.setup]: Report
219746 [.setup]:
219906 [.setup]: Date: Wednesday, February 14, 2018
219931 [.setup]: Time: 01:14:06
219991 [.setup]: OS version: Linux 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64
220012 [.setup]: SharedSetup: false
220030 [.setup]: UserRoots: <none specified>
220051 [.setup]: UserData: <none specified>
220071 [.setup]: UserConfig: <none specified>
220092 [.setup]: CommonRoots: <none specified>
220113 [.setup]: CommonData: <none specified>
220137 [.setup]: CommonConfig: <none specified>
220163 [.setup]: Installation: /home/eddy/.miktex/texmfs/install
220192 [.setup]: initexmf --create-config-file=miktex/config/miktex.ini --set-config-value=[Core]SharedSetup=0 --disable-installer --verbose:
243632 [.core]: forking...
245195 [.core]: start reading the pipe
278935 [.core]: read 283 bytes from the pipe
279021 [.core]: waiting for process 16833
279082 [.core]: process 16833 exited with status 0
279163 [.setup]: initexmf --update-fndb --disable-installer --verbose:
279230 [.core]: forking...
280565 [.core]: start reading the pipe
281062 [.core]: read 776 bytes from the pipe
281121 [.core]: waiting for process 16837
281187 [.core]: process 16837 exited with status 0
281287 [.setup]: initexmf --force --mklinks --disable-installer --verbose:
281370 [.core]: forking...
282634 [.core]: start reading the pipe
282811 [.core]: read 210 bytes from the pipe
282890 [.core]: waiting for process 16838
282981 [.core]: process 16838 exited with status 0
283100 [.setup]: initexmf --mkmaps --mklangs --disable-installer --verbose:
283193 [.core]: forking...
284642 [.core]: start reading the pipe
285097 [.core]: read 537 bytes from the pipe
285162 [.core]: waiting for process 16839
285234 [.core]: process 16839 exited with status 1
285421 [.core]: The executed process did not succeed.
285459 [.core]: Data: exitCode="1", fileName="/usr/bin/initexmf"
285482 [.core]: Source: Libraries/MiKTeX/Core/Process/Process.cpp:166
miktexsetup: The executed process did not succeed.
miktexsetup: Data: exitCode="1", fileName="/usr/bin/initexmf"
之前的版本在我的电脑上运行得很好。我该如何修复这个问题?
MiKTeX 问题跟踪器中的问题链接:https://github.com/MiKTeX/miktex/issues/67
答案1
好吧,至少在他们最终设法修复这个最新版本之前,我找到了一个部分解决方案:
我删除了 miktex,下载了 .deb(http://ctan.mirrors.hoobly.com/systems/win32/miktex/setup/deb/pool/universe/m/miktex/miktex-2.9.6530-1-linux-x86_64.deb) 适用于之前的版本 (2.9.6530) 并可使用dpkg -i
它。而且这个有效!
我将注释掉 /etc/apt/sources.list.d/miktex.list 中与 miktext 对应的行,以避免它在一段时间内被更新……