How to update MikTeX please? In the second picture I tried this opportunity and the update not succed. I read that admin update help, but I cannot it open. I have nothing ticked and select all is grey. Thank you.
Updating older versions of MiKTeX is problematic you can attempt it however see the following comment.
Note what is written on the MiKTeX 2.8 Status Page:
This version has reached the ‘end-of-life’ status. It will not be possible to install packages from the remote package repository. The current release is 2.9.
The main reason for API 87 error is there is an open file blocking the install. This could be another application or two instances of MiKTeX app or even a stuck part from previous running compilation.
If you are confident about "killing" windows tasks, you could try to remove them. Otherwise you need to use Windows 7 Start button to "reboot" i.e. Shut down then restart
However in Windows 10 it may be better to "Restart" Windows (NOT Shut down)
When you restart avoid using any related commands (exit/close any adobe background task or other pdf handler app). Close any editor e.g. TeXworks and do not run any command line tex compilation as many users have found simply running pdfLaTeX can initiate the file locking and that is what can be causing open files to block MiKTeX updating them.
Run MiKTeX console (IF you have dual install use admin first) under "Tasks" Refresh the filename database and try selecting updates again.
The console is usually seen in the Icon tray as a small blue circle or a shortcut from installation, you should be able to run it from a command prompt by typing
If you can't then your install may be out of date or is not correct as it should be on your system path. To check from command prompt run>
mpm --print-package-info=miktex-console-bin-2.9 there should be three run-time files listed, if not try>
Some users have found closing MiKTeX console fully and re-entering triggers the update process. Other command line sequences that may help are
initexmf --update-fndb initexmf --mkmaps initexmf --mklinks --force mpm --find-updates mpm --update
If you have dual (admin and basic user) then you may need to add
mpm with the commands above like this
mpm --admin --update
If console is working but updates are not the final suggestion is
- Start MiKTeX console
- Click Cleanup to navigate to the cleanup page.
- Click Reset the MiKTeX installation to factory defaults
- In "Tasks" refresh the filename database and the font map files