On 5/09/2018 9:45 p.m., Uwe Stöhr wrote:
As of today the update servers are working again. However, one needs a workaround because the buggy DLL of MiKTeX prevents the updates from being applied.

it seems that the bug affects all users of Windows 7 while Win 10 is not affected. For the affected users there is a workaround but you need admin permissions and some knowledge:

- open a Windows console as admin (type in "cmd" in the Windows Start field, and right-click on it to run it with admin privileges)
- execute these 2 commands subsequently:
initexmf --admin --update-fndb
and
initexmf --admin --mklinks --force
- close the Windows console
- now start the MiKTeX console
- choose there to restart with admin privileges
- check for updates and if there are any apply them

From my point of view I see no other option than to provide a new LyX for Windows installer that repairs broken system by executing these commands in the background after LyX was installed. This way users with problems can just run the Win installer again and get a working LyX back in a minute without the need to know about console commands etc.

@developers: Maybe now you see that the Win installer must do more and forcing a MiKTeX update is necessary as you can see in this case. We cannot say "not our fault". Yes, LyX is not to blame but what matters is if users can use LyX. In my case I wanted to write an urgent letter with LyX but could not use it and had to use LibreOffice instead.

regards Uwe
I'm on windows 7 and MiKTeX 2.9.  MiKTeX update failed about a week ago and I couldn't compile to pdf, nor did instant preview work. The following day I tried updating again, and everything worked as it should, and as it has done since (including 11 packages updated just a few minutes ago). MiKTeX updates from ftp://ftp.tu-chemnitz.de which seems a bit odd for someone in New Zealand but MiKTeX selected this itself with no help from me. (I think using the "random package on the internet" option in the console.) I've now also, after the update, compiled a complicated master-child document to pdf, so everything is working as it ought.

Andrew



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Reply via email to