The latest basic-miktex-2.9.6069-x64.exe
which I tried both as normal and elevated (admin) fails at the very end. I'm using Win 8.1 Pro x64. Full log below.
message: The executed process did not succeed. info: fileName="p:\miktex\miktex/bin/x64\initexmf.exe", arguments="--force --mklinks --admin --log-file=p:\miktex\miktex/config\uninst.log --verbose", exitCode="1"
I've seen similar issue sposted before but no fixes. Anyone knows what to do?
Previous to this I had miktex installed and it was running fine, but after I did an update just a few days ago, I got the same error message. Others suggested to reinstall so I wiped miktex (from program files, appdata, registry etc) and tried to install from the latest installer ... this fails too.
Full log:
initializing setup service... starting installer... Loading package database... starting package maintenance... installation directory: p:\miktex package repository: C:\Users\USERNAME\AppData\Local\Temp\mik87927 visiting repository C:\Users\USERNAME\AppData\Local\Temp\mik87927... repository type: local package repository loading lightweight database... lightweight database digest: b6ab78589e15989154a884d99aade9c4 going to install 10238 file(s) (178 package(s)) extracting files from ae.tar.lzma... extracting files from amscls.tar.lzma... extracting files from amsfonts.tar.lzma... extracting files from amsmath.tar.lzma... extracting files from avantgar.cab... extracting files from babel.tar.lzma... extracting files from babel-english.tar.lzma... extracting files from babel-french.tar.lzma... extracting files from babel-german.tar.lzma... extracting files from babel-spanish.tar.lzma... extracting files from bidi.tar.lzma... extracting files from bookman.cab... extracting files from carlisle.tar.lzma... extracting files from cbcoptic.tar.lzma... extracting files from cm.tar.lzma... extracting files from courier.tar.lzma... extracting files from cyrillic.tar.lzma... extracting files from dehyph-exptl.tar.lzma... extracting files from ec.tar.lzma... extracting files from elhyphen.tar.lzma... extracting files from enctex.tar.lzma... extracting files from euenc.tar.lzma... extracting files from eurosym.tar.lzma... extracting files from float.tar.lzma... extracting files from fontspec.tar.lzma... extracting files from geometry.tar.lzma... extracting files from graphics.tar.lzma... extracting files from graphics-def.tar.lzma... extracting files from helvetic.cab... extracting files from hyperref.tar.lzma... extracting files from hyph-utf8.tar.lzma... extracting files from ifxetex.tar.lzma... extracting files from jknappen.tar.lzma... extracting files from knuth-lib.tar.lzma... extracting files from knuth-local.tar.lzma... extracting files from latex-fonts.tar.lzma... extracting files from lm.tar.lzma... extracting files from ltxbase.tar.lzma... extracting files from ltxmisc.tar.lzma... extracting files from lua-alt-getopt.tar.lzma... extracting files from luainputenc.tar.lzma... extracting files from lualibs.tar.lzma... extracting files from luamplib.tar.lzma... extracting files from luaotfload.tar.lzma... extracting files from luatexbase.tar.lzma... extracting files from luatextra.tar.lzma... extracting files from mflogo.tar.lzma... extracting files from mflogo-font.tar.lzma... extracting files from miktex-arctrl-bin-x64-2.9.tar.lzma... extracting files from miktex-bibarts-bin.tar.lzma... extracting files from miktex-bibarts-bin-x64.tar.lzma... extracting files from miktex-biber-bin-x64.tar.lzma... extracting files from miktex-bibtex-base.cab... extracting files from miktex-bibtex-bin-x64-2.9.tar.lzma... extracting files from miktex-bibtex8bit-base.tar.lzma... extracting files from miktex-bibtex8bit-bin-x64-2.9.tar.lzma... extracting files from miktex-bin-x64-2.9.tar.lzma... extracting files from miktex-cairo-bin-x64-2.9.tar.lzma... extracting files from miktex-chktex-base.tar.lzma... extracting files from miktex-chktex-bin-x64-2.9.tar.lzma... extracting files from miktex-cjkutils-bin-x64-2.9.tar.lzma... extracting files from miktex-config-2.9.tar.lzma... extracting files from miktex-cweb-base.tar.lzma... extracting files from miktex-cweb-bin-x64-2.9.tar.lzma... extracting files from miktex-devnag-bin-x64-2.9.tar.lzma... extracting files from miktex-dict-english.tar.lzma... extracting files from miktex-dict-french.tar.lzma... extracting files from miktex-dict-german.tar.lzma... extracting files from miktex-doc-2.9.tar.lzma... extracting files from miktex-dvicopy-bin-x64-2.9.tar.lzma... extracting files from miktex-dvipdfm-base-2.7.tar.lzma... extracting files from miktex-dvipdfmx-base-2.7.tar.lzma... extracting files from miktex-dvipdfmx-bin-x64-2.9.tar.lzma... extracting files from miktex-dvipng-bin-x64-2.9.tar.lzma... extracting files from miktex-dvips-base.tar.lzma... extracting files from miktex-dvips-bin-x64-2.9.tar.lzma... extracting files from miktex-dvisvgm-bin-x64-2.9.tar.lzma... extracting files from miktex-etex-base-2.9.tar.lzma... extracting files from miktex-findtexmf-bin-x64-2.9.tar.lzma... extracting files from miktex-fontconfig-base.tar.lzma... extracting files from miktex-fontconfig-bin-x64-2.9.tar.lzma... extracting files from miktex-fontname-base.tar.lzma... extracting files from miktex-fonts-bin-x64-2.9.tar.lzma... extracting files from miktex-freetype-base.tar.lzma... extracting files from miktex-freetype2-bin-x64-2.9.tar.lzma... extracting files from miktex-ghostscript-base-2.9.tar.lzma... extracting files from miktex-ghostscript-bin-x64.tar.lzma... extracting files from miktex-graphics-bin-x64-2.9.tar.lzma... extracting files from miktex-graphite2-bin-x64-2.9.tar.lzma... extracting files from miktex-gsf2pk-base.cab... extracting files from miktex-gsf2pk-bin-x64-2.9.tar.lzma... extracting files from miktex-hunspell-bin-x64-2.9.tar.lzma... extracting files from miktex-hyph-french.tar.bz2... extracting files from miktex-hyph-german.tar.bz2... extracting files from miktex-hyph-usenglish.cab... extracting files from miktex-icu-bin-x64.tar.lzma... extracting files from miktex-int-bin-x64-2.9.tar.lzma... extracting files from miktex-kpathsea-bin-x64-2.9.tar.lzma... extracting files from miktex-latex-config-2.9.tar.lzma... extracting files from miktex-log4cxx-bin-x64-2.9.tar.lzma... extracting files from miktex-lua52-bin-x64-2.9.tar.lzma... extracting files from miktex-luatex-base.tar.lzma... extracting files from miktex-luatex-bin-x64-2.9.tar.lzma... extracting files from miktex-makeindex-base.tar.lzma... extracting files from miktex-makeindex-bin-x64-2.9.tar.lzma... extracting files from miktex-metafont-base.cab... extracting files from miktex-metafont-bin-x64-2.9.tar.lzma... extracting files from miktex-metafont-misc.tar.lzma... extracting files from miktex-metapost-base-2.7.tar.lzma... extracting files from miktex-metapost-bin-x64-2.9.tar.lzma... extracting files from miktex-mft-base.tar.lzma... extracting files from miktex-mfware-bin-x64-2.9.tar.lzma... extracting files from miktex-misc.tar.lzma... extracting files from miktex-mkfntmap-bin-x64-2.9.tar.lzma... extracting files from miktex-mktex-bin-x64-2.9.tar.lzma... extracting files from miktex-mo-bin-x64-2.9.tar.lzma... extracting files from miktex-mpm-bin-x64-2.9.tar.lzma... extracting files from miktex-mpmcli-bin-x64-2.9.tar.lzma... extracting files from miktex-mthelp-bin-x64-2.9.tar.lzma... extracting files from miktex-mtprint-bin-x64-2.9.tar.lzma... extracting files from miktex-omega-bin-x64-2.9.tar.lzma... extracting files from miktex-pdftex-base-2.9.tar.lzma... extracting files from miktex-pdftex-bin-x64-2.9.tar.lzma... extracting files from miktex-poppler-base.tar.lzma... extracting files from miktex-poppler-bin-x64-2.9.tar.lzma... extracting files from miktex-ps2pk-bin-x64-2.9.tar.lzma... extracting files from miktex-psutils-base.tar.lzma... extracting files from miktex-psutils-bin-x64-2.9.tar.lzma... extracting files from miktex-qt5-bin-x64.tar.lzma... extracting files from miktex-runtime-bin-x64-2.9.tar.lzma... extracting files from miktex-tdsutil-bin-x64-2.9.tar.lzma... extracting files from miktex-teckit-bin-x64-2.9.tar.lzma... extracting files from miktex-tex-base.tar.lzma... extracting files from miktex-tex-bin-x64-2.9.tar.lzma... extracting files from miktex-tex-misc.tar.lzma... extracting files from miktex-tex2xindy-bin-x64-2.9.tar.lzma... extracting files from miktex-tex4ht-bin-x64-2.9.tar.lzma... extracting files from miktex-texify-bin-x64-2.9.tar.lzma... extracting files from miktex-texinfo-base.tar.lzma... extracting files from miktex-texware-bin-x64-2.9.tar.lzma... extracting files from miktex-texworks-bin-x64-2.9.tar.lzma... extracting files from miktex-texworks-doc-2.9.tar.lzma... extracting files from miktex-ttf2pk2-bin-x64-2.9.tar.lzma... extracting files from miktex-ucrt-bin-x64.tar.lzma... extracting files from miktex-vc120-bin-x64.tar.lzma... extracting files from miktex-vc140-bin.tar.lzma... extracting files from miktex-vc140-bin-x64.tar.lzma... extracting files from miktex-web-bin-x64-2.9.tar.lzma... extracting files from miktex-xdvipdfmx-bin-x64-2.9.tar.lzma... extracting files from miktex-xetex-base.tar.lzma... extracting files from miktex-xetex-bin-x64-2.9.tar.lzma... extracting files from miktex-xindy-base.tar.lzma... extracting files from miktex-xindy-bin-x64.tar.lzma... extracting files from miktex-yap-bin-x64-2.9.tar.lzma... extracting files from miktex-zip-bin-x64.tar.lzma... extracting files from multirow.cab... extracting files from ncntrsbk.cab... extracting files from oberdiek.tar.lzma... extracting files from palatino.cab... extracting files from polyglossia.tar.lzma... extracting files from pslatex.tar.lzma... extracting files from psnfss.cab... extracting files from pstricks.tar.lzma... extracting files from rsfs.tar.lzma... extracting files from ruhyphen.tar.lzma... extracting files from thumbpdf.tar.lzma... extracting files from times.cab... extracting files from tools.tar.lzma... extracting files from ukrhyph.tar.lzma... extracting files from unicode-data.tar.lzma... extracting files from utopia.cab... extracting files from xgreek.tar.lzma... extracting files from xkeyval.tar.lzma... extracting files from xltxtra.tar.lzma... extracting files from xunicode.tar.lzma... extracting files from xypic.tar.lzma... extracting files from zapfchan.cab... extracting files from zapfding.cab... updating package definition directory (p:\miktex\tpm\packages)... installed 2989 package definition files visiting repository C:\Users\USERNAME\AppData\Local\Temp\mik87927... repository type: local package repository loading lightweight database... p:\miktex\miktex/bin/x64\initexmf.exe --common-install=p:\miktex --set-config-value=[Core]SharedSetup=1 --admin --log-file=p:\miktex\miktex/config\uninst.log --verbose: 0 [0x00003058] INFO initexmf null - starting: MiKTeX Configuration Utility 2.9.6050 (MiKTeX 2.9 64-bit) 15 [0x00003058] INFO initexmf null - Registering root directories... Registering root directories... p:\miktex\miktex/bin/x64\initexmf.exe --rmfndb --admin --log-file=p:\miktex\miktex/config\uninst.log --verbose: p:\miktex\miktex/bin/x64\mpm.exe --register-components --admin --verbose: configuring fontconfig\config\fonts.conf registering p:\miktex\miktex/bin/x64\MiKTeX209-core.dll registering p:\miktex\miktex/bin/x64\MiKTeX209-core-PS.dll registering p:\miktex\miktex/bin/x64\MiKTeX209-packagemanager.dll registering p:\miktex\miktex/bin/x64\MiKTeX209-packagemanager-PS.dll p:\miktex\miktex/bin/x64\initexmf.exe --update-fndb --admin --log-file=p:\miktex\miktex/config\uninst.log --verbose: Skipping user root directory (C:\Users\USERNAME\AppData\Roaming\MiKTeX\2.9)... Skipping user root directory (C:\Users\USERNAME\AppData\Local\MiKTeX\2.9)... Creating fndb for common root directory (C:\ProgramData\MiKTeX\2.9)... Creating fndb for common root directory (p:\miktex)... p:\miktex\miktex/bin/x64\initexmf.exe --force --mklinks --admin --log-file=p:\miktex\miktex/config\uninst.log --verbose: Sorry, but "MiKTeX Configuration Utility" did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:/Users/USERNAME/AppData/Local/MiKTeX/2.9/miktex/log/initexmf.log You may want to visit the MiKTeX project page, if you need help. An error occurred: source file: Libraries\MiKTeX\Core\Process\Process.cpp source line: 159 message: The executed process did not succeed. info: fileName="p:\miktex\miktex/bin/x64\initexmf.exe", arguments="--force --mklinks --admin --log-file=p:\miktex\miktex/config\uninst.log --verbose", exitCode="1"
I also note that the suggested file
C:/Users/USERNAME/AppData/Local/MiKTeX/2.9/miktex/log/initexmf.log
doesn't exist (it wasn't created).I also tried to manually run
p:\miktex\miktex/bin/x64\initexmf.exe --force --mklinks --admin --log-file=p:\miktex\miktex/config\uninst.log --verbose
to no avail.The 32bit installer gives the exact same error, identical log file.
I don't have any anti-virus running (windows defender is also disabled)
Last edit: Mast B. 2016-09-02
Also, interestingly, if I manually run (elevated or not, either 32bit or 64bit)
p:\miktex\miktex/bin\initexmf.exe --force --mklinks --admin --log-file=p:\miktex\miktex/config\uninst.log --verbose
I get that
--log-file
is not a valid option (which seems true when looking at--help
)But if I run it without the
--log-file
optionp:\miktex\miktex/bin\initexmf.exe --force --mklinks --admin --verbose
I get:
In both cases, the suggested
initexmf.log
file does not exist.Last edit: Mast B. 2016-09-02
Wow, even the latest portable installer
miktex-portable-2.9.5987.exe
gives the same error as soon as I try to update from the tray icon's Update MikTeX.Anyone?
Last edit: Mast B. 2016-09-02
Ok, I'm digging a little deeper, here's what I did. I used the portable install. I didn't update miktex itselg but wanted to install the
pgf
package. It started installing but then failed again atinitexmf.exe --mklinks --mkmaps
. I then tried to run this command manually and this time theinitexmf.log
file was actually created inP:/miktex-portable/texmfs/data/miktex/log/initexmf.log
and it contains an odd error:Full log:
Any clues?
Thank you for the report. Unfortunately, the bug is not reproducible on my machine. For this reason, I cannot do anything at the moment.
Not sure what causes it on mine but I'm not the only one from what I've seen online. Isn't my previous post useful at all? The error
actually gives some specific info to look at. Isn't that useful at all? Isn't there anything else I can do to trace the cause?
For the moment I wiped it all and moved to TeXLive 2016 because I need a working tex distro but given that I donated to MikTex a few times, I'd like to continue using it ...
Last edit: Mast B. 2016-09-02
Could it be that drive
p:
was created with theSUBST
command? For me theGetVolumePathNameW
function used inPathName::GetMountPoint
returnsX:\\MikTex\\
instead ofX:\\
if driveX:
was created with"SUBST X: D:\\Programs"
(for example). Then theGetVolumeInformationW
function call inUtils::SupportsHardLinks
fails withWindows API error 144: The directory is not a subdirectory of the root directory.
It is indeed created with subst