New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 7 admin installation: updating process buggy #187

Open
GuyHedelin opened this Issue Aug 29, 2018 · 16 comments

Comments

Projects
None yet
6 participants
@GuyHedelin
Copy link

GuyHedelin commented Aug 29, 2018

When I updated to the new MikTeX the process ended with an error:

errorupdatemiktex

I tried to deinstall MikTeX to reinstall from scratch but I got this error and couldn't deinstall:

errordeinstall

I tried to install it as a portable and update but same problem. With an installation as private (not for all users) and update same problem.

I run windows 7 x64 and MikTeX x64.

@edocevoli

This comment has been minimized.

Copy link
Member

edocevoli commented Aug 29, 2018

Thank you for writing the report. It is not yet clear what you did. Please attach all relevant log files. Also necessary: a step-by-step reproduction recipe. Remember: your job is to enable us to reproduce the issue.

@edocevoli edocevoli closed this Aug 29, 2018

@GuyHedelin

This comment has been minimized.

Copy link

GuyHedelin commented Aug 30, 2018

@edocevoli

This comment has been minimized.

Copy link
Member

edocevoli commented Aug 30, 2018

There is a new version (2.9.6813) of the installer available. This fixes it.

If you still have issues: Please collect the MiKTeX log files.

@edocevoli edocevoli closed this Aug 30, 2018

@edocevoli edocevoli added the windows 7 label Aug 30, 2018

@edocevoli

This comment has been minimized.

Copy link
Member

edocevoli commented Aug 30, 2018

By the way: I cannot reproduce the bug on Windows 10 machines. So this seems to be an Windows 7 specific issue.

@edocevoli

This comment has been minimized.

Copy link
Member

edocevoli commented Aug 30, 2018

Other workarounds you can try:

  • refresh the file name database before checking for updates
  • use the command-line (mpm --update) to install updates
@GuyHedelin

This comment has been minimized.

Copy link

GuyHedelin commented Aug 30, 2018

@edocevoli

This comment has been minimized.

Copy link
Member

edocevoli commented Aug 30, 2018

Yes, you must wipe the old version. If the uninstaller is not working, you can do it manually by:

  1. remove all TEXMF root directories
  2. remove MiKTeX.org registry keys: HKEY_LOCAL_MACHINE\Software\MiKTeX.org, HKEY_CURRENT_USER\Software\MiKTeX.org
@GuyHedelin

This comment has been minimized.

Copy link

GuyHedelin commented Aug 30, 2018

@GuyHedelin

This comment has been minimized.

Copy link

GuyHedelin commented Aug 30, 2018

@edocevoli edocevoli added the admin label Aug 30, 2018

@edocevoli

This comment has been minimized.

Copy link
Member

edocevoli commented Aug 30, 2018

I was able to reproduce the issue on a Windows 7 machine. But it only occurs when you install for all users. The default (non-admin, private) setup option works.

@edocevoli edocevoli reopened this Aug 30, 2018

@edocevoli edocevoli changed the title updating process buggy Windows 7 admin installation: updating process buggy Aug 30, 2018

@edocevoli edocevoli self-assigned this Aug 30, 2018

@edocevoli

This comment has been minimized.

Copy link
Member

edocevoli commented Aug 30, 2018

When this error (The specified procedure could not be found) occurs: you can repair the MiKTeX installation by running:

initexmf --admin --update-fndb
initexmf --admin --mklinks --force

This unbends program files like pdflatex.exe.

@majohhhhhhh

This comment has been minimized.

Copy link

majohhhhhhh commented Aug 30, 2018

Thank you, this procedure solves the problem.

@GuyHedelin

This comment has been minimized.

Copy link

GuyHedelin commented Aug 30, 2018

@edocevoli edocevoli referenced this issue Sep 29, 2018

Closed

Error during update #201

1 of 1 task complete
@motib

This comment has been minimized.

Copy link

motib commented Oct 2, 2018

I updated to 6813 and installed for "me only". When I tried compiling a book that uses about a dozen packages, it updated one package and then crashed on the next one. I ran again and the same thing happened. So I had to run pdflatex about a dozen times to get everything updated.

@dillasyx

This comment has been minimized.

Copy link

dillasyx commented Dec 4, 2018

I'm on the newest version, tried the workarounds and still get the error when trying to update.

EDIT: the only ERROR in the log files is:

2018-12-04 09:34:44,782+0100 ERROR mainwindow - Libraries\MiKTeX\Core\win\DllProc.cpp:62: Windows API error 127: Die angegebene Prozedur wurde nicht gefunden. (dllName="C:\Users\name\AppData\Local\Programs\MiKTeX 2.9\miktex/bin/x64\MiKTeX209-core.dll")

EDIT: installing as shared and NOT only for me and then the workaround works

@elfsoft2000

This comment has been minimized.

Copy link

elfsoft2000 commented Dec 8, 2018

Note the use of /bin/ in the pathname, rather than \bin. My error report (closed too quickly) and another person's problems all seem to be related to the use of foreward slashes.

@veromies veromies referenced this issue Dec 11, 2018

Closed

Console uninstall does not remove everything #225

2 of 3 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment