Skip to content

Updater fails if not run as admin, even on a user installation #56

@marczellm

Description

@marczellm

Bug report

My check list

  • latest package versions are installed
  • MiKTeX log files are attached
  • the bug can be reproduced by anybody (necessary input files are attached)

What I tried to do

Update MiKTeX with the GUI updater

What I expected to happen

Update succeeds.

What happened instead

miktex1

End of log:

2018-02-04 22:23:48,355+0100 INFO  FileCopyPage - extracting files from miktex-pdftex-bin-x64-2.9.tar.lzma...
2018-02-04 22:23:49,942+0100 ERROR update.core - The executed process did not succeed.
2018-02-04 22:23:49,942+0100 ERROR update.core - The executed process did not succeed.
2018-02-04 22:23:49,942+0100 ERROR update.core - Data: fileName="D:\Program Files\MiKTeX\miktex/bin/x64\initexmf.exe", exitCode="1"
2018-02-04 22:23:49,942+0100 ERROR update.core - Data: fileName="D:\Program Files\MiKTeX\miktex/bin/x64\initexmf.exe", exitCode="1"
2018-02-04 22:23:49,942+0100 ERROR update.core - Source: Libraries\MiKTeX\Core\Process\Process.cpp:166
2018-02-04 22:23:49,942+0100 ERROR update.core - Source: Libraries\MiKTeX\Core\Process\Process.cpp:166
2018-02-04 22:23:49,942+0100 INFO  FileCopyPage - 
2018-02-04 22:23:49,942+0100 INFO  FileCopyPage - Error: The executed process did not succeed.

Strangely if I run the updater as admin, it succeeds without error. This is weird because I don't have a system-wide MiKTeX installation, only a user installation.

The other weird thing is that no matter how many times I run the updater, it always finds these two "to be repaired" tasks:
miktex2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions