Re: Workaround for: WARNING: updating LaTeX or LyX under Windows will currently break LaTeX installation
On 09/05/2018 06:05 AM, Jean-Marc Lasgouttes wrote: > Le 05/09/2018 à 11:45, Uwe Stöhr a écrit : >> @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. > > Hello Uwe, > > What I see now is that miktex should provide a small "repair pack" to > fix these things. Or that switching to texlive is more reasonable for > our users. +1 Riki
Re: Workaround for: WARNING: updating LaTeX or LyX under Windows will currently break LaTeX installation
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
Re: Workaround for: WARNING: updating LaTeX or LyX under Windows will currently break LaTeX installation
Le 05/09/2018 à 11:45, Uwe Stöhr a écrit : @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. Hello Uwe, What I see now is that miktex should provide a small "repair pack" to fix these things. Or that switching to texlive is more reasonable for our users. JMarc
Workaround for: WARNING: updating LaTeX or LyX under Windows will currently break LaTeX installation
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
Re: WARNING: updating LaTeX or LyX under Windows will currently break LaTeX installation
Am 29.08.2018 um 03:30 schrieb Uwe Stöhr: I hope this issue will be fixed soon and report back. Status report: The problem persists. The fix for MiKTeX was already released but the main update server of MiKTeX is down. One cannot retrieve any update yet, no matter what update server is chosen. regards Uwe
Re: WARNING: updating LaTeX or LyX under Windows will currently break LaTeX installation
> I had this problem trying to install MikTeX and LateX on a new Windows computer. I got that message about an unknown procedure entry point. After uninstalling and re-installing several times, I got MikTex to work. Lyx still tells me there is no PDF viewer installed, as I described in another thread.Hi Rick, yes the problem you having is exactly the one I described. So currently there is no workaround than to wait until MiKTeX is fixed.Regards Uwe
WARNING: updating LaTeX or LyX under Windows will currently break LaTeX installation
Dear LyX Windows users, yesterday I noticed a severe bug in the LaTeX system "MiKTeX" that LyX is usually using under Windows. The problem is that if you - upgrade MiKTeX or LyX or - install a new LaTeX package or - refresh the MiKTeX package database you will end up in a broken LaTeX with error messages like "unknown procedure entry point". I experimented around for more than 2 hours but could not find a workaround once LaTeX is broken. Even a reinstallation of LyX or MiKTeX doesn't help since the result are always broken DLLs and I could not find a way to prevent this. Therefore I strongly recommend not to change anything in your LaTeX setup nor to compile LyX documents that might use special LaTeX packages hat are not yet installed on your PC. Also don't install another version of LyX or reinstall LyX. I hope this issue will be fixed soon and report back. regards Uwe