Ubuntu 16.04 更新後 MiKTeX 損壞

Ubuntu 16.04 更新後 MiKTeX 損壞

最近的 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 相對應的行,以避免它暫時更新...

相關內容