Re: Problem with initexmf when running MiKTeX Update and auto-install

Niels van Adrichem <[email protected]> Thu, 17 Aug 2017 07:36:30 +0000
Newsgroups gmane.comp.tex.miktex
Message-ID <AM5PR10MB171664B1B6F7231427A669EED6830@AM5PR10MB1716.EURPRD10.PROD.OUTLOOK.COM>
Hi,


Thanks, that worked on version 2.9.6236. I swear I also tried it on 2.9.6361 to no avail, but haven't repeated that experiment now I have a running MiKTeX again.

For those looking for older versions, I used ctanmirror to retrieve the older version:

https://ctanmirror.speedata.de/2017-02-01/systems/win32/miktex/setup/basic-miktex-2.9.6236-x64.exe


Best,

Niels


________________________________
From: Jerry <[email protected]>
Sent: Monday, August 14, 2017 3:16 PM
To: MiKTeX Users List
Subject: Re: [MiKTeX] Problem with initexmf when running MiKTeX Update and auto-install

On Mon, 14 Aug 2017 12:40:42 +0000, Niels van Adrichem stated:

>The problem persists with the 3 latest versions, 2.9.6361, 2.9.6326 and
>2.9.6236.
>
>Does anybody have another clue?
>________________________________
>From: Niels van Adrichem <[email protected]>
>Sent: Monday, August 14, 2017 9:15 AM
>To: MiKTeX Users List
>Subject: Re: [MiKTeX] Problem with initexmf when running MiKTeX Update and
>auto-install
>
>Thanks for the tip, I tried it but unfortunately that also didn't work. I'll
>continue trying older versions first.
>
>________________________________
>From: Mark Yagnatinsky <[email protected]>
>Sent: Sunday, August 13, 2017 6:51 PM
>To: MiKTeX Users List
>Subject: Re: [MiKTeX] Problem with initexmf when running MiKTeX Update and
>auto-install
>
>This is a pretty silly idea, but no one else suggested anything better
>yet, so... maybe try the 32-bit version and see what happens?
>
>On Fri, Aug 11, 2017 at 1:18 PM, Jerry <[email protected]> wrote:
>> On Fri, 11 Aug 2017 13:56:08 +0000, Niels van Adrichem stated:
>>
>>>Hello everybody,
>>>
>>>I have been a happy camper using MiKTeX in combination with
>>>TexnicCenter and Sumatra PDF for over 6 years without any problems
>>>varying from Windows XP to 7 and 10.
>>>
>>>However, recently I received a new Windows 10 installation and after
>>>installing MiKTeX 2.9.6361 64-bit I encounter the following problems
>>>when updating or auto-installing:
>>>
>>>  *   When running MiKTeX Update it fails with the error:
>>>The executed process did not succeed.
>>>filename=”C:\Program Files\MiKTeX 2.9\miktex\bin\x64\initexmf.exe”,
>>>arguments=”—force –mklinks –verbose”, exitCode=”1” Attached you find
>>>the related update.log and initexmf.log files.
>>>  *   Additionally, the same error occurs when I try to compile a
>>> paper and auto-install missing packets. Attached you find the related
>>> texniccenter.log and pdflatex.log files inidicating a problem while
>>> running initexmf.
>>>I found other posts with similar problems, though those could usually
>>>not install at all, which I could without a warning. Additionally, I
>>>did not change the filename of the setup file.
>>>
>>>As found in the update.log and initexmf.log files, besides  the
>>>executables miktex-asy.exe and miktex-lacheck.exe there are no other
>>>executables found in the directory
>>>C:\Users\username\AppData\Roaming\MiKTeX\2.9\miktex/bin/x64\ .All
>>>these executables are found in the C:\Program Files\MiKTeX
>>>2.9\miktex\bin\x65\ directory as expected from a system-wide install.
>>>Line 146 of initexmf.log complains about an access-is-denied(5) error,
>>>though the user does have full access to the user’s roaming-folder,
>>>and read-and-execute permissions to the program-files folder. Running
>>>the initexmf command with these parameters gives exactly the same
>>>results as in the logs.
>>
>> Along with that, I have found this in the
>> C:/ProgramData/MiKTeX/2.9/miktex/log/initexmf_admin.log
>>
>> 2017-08-04 18:34:14,154-0400 INFO  initexmf - starting: MiKTeX
>> Configuration Utility 2.9.6419 (MiKTeX 2.9.6400 64-bit) 2017-08-04
>> 18:34:14,154-0400 INFO  initexmf - Operating on the shared (system-wide)
>> MiKTeX setup 2017-08-04 18:34:14,587-0400 FATAL initexmf - Windows API
>> error 183: Cannot create a file when that file already exists.
>>
>> 2017-08-04 18:34:14,587-0400 FATAL initexmf - Info: newName="C:\Program
>> Files\MiKTeX 2.9\miktex/bin/x64\latex.exe", oldName="C:\Program
>> Files\MiKTeX 2.9\miktex\bin\x64\miktex-pdftex.EXE" 2017-08-04
>> 18:34:14,587-0400 FATAL initexmf - Source:
>> Libraries\MiKTeX\Core\File\win\winFile.cpp 2017-08-04 18:34:14,587-0400
>> FATAL initexmf - Line: 360
>>
>> All of the problems I am having happened after the recent update of
>> MiKTeX.

I opened the "C:\Program Files\MiKTeX 2.9\miktex\bin\x64\mo_admin.exe"
program, "MiKTeX Settings (Admin)" and ran both the "Refresh FNDB" and "Update
Formats" commands. Since then, I have not been receiving any warning messages.
This is on a Win10 PRO - 64 bit machine.

--
Jerry




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
- MiKTeX Docs<http://docs.miktex.org/faq/support.html#leavingml>
docs.miktex.org
1. How do I get support? Please visit https://miktex.org/support, for an overview of available support options. 2. Is there a mailing list? Yes. 3. How can I join the ...


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml