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
On Tue, Sep 04, 2018 at 12:23:34PM -0400, Richard Kimberly Heck wrote: > On 09/04/2018 11:04 AM, Scott Kostyshak wrote: > > On Tue, Sep 04, 2018 at 02:03:45PM +0200, Uwe Stöhr wrote: > >> 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. > > Thanks for these status updates, Uwe. I find them helpful--I was just > > about to recommend my teaching assistant to install MiKTeX and LyX, but > > now I'll just have them wait a week or so. > > TeXLive and LyX? I think there's a general sense that this is more stable. Ah yes, that's a good idea. Scott signature.asc Description: PGP signature
Re: WARNING: updating LaTeX or LyX under Windows will currently break LaTeX installation
On 09/04/2018 11:04 AM, Scott Kostyshak wrote: > On Tue, Sep 04, 2018 at 02:03:45PM +0200, Uwe Stöhr wrote: >> 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. > Thanks for these status updates, Uwe. I find them helpful--I was just > about to recommend my teaching assistant to install MiKTeX and LyX, but > now I'll just have them wait a week or so. TeXLive and LyX? I think there's a general sense that this is more stable. Riki
Re: WARNING: updating LaTeX or LyX under Windows will currently break LaTeX installation
On Tue, Sep 04, 2018 at 02:03:45PM +0200, Uwe Stöhr wrote: > 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. Thanks for these status updates, Uwe. I find them helpful--I was just about to recommend my teaching assistant to install MiKTeX and LyX, but now I'll just have them wait a week or so. Scott signature.asc Description: PGP signature
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
On 29/08/2018 1:30 p.m., Uwe Stöhr wrote: 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 I met this problem too, but after waiting a day and then updating MiKTeX again it has vanished and I am once more able to compile documents (and use instant preview, which the problem also interfered with). Andrew --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
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