MiKTeX and proTeXtError after MiKTeX Update

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Error after MiKTeX Update

Post by ghostanime2001 »

I get this error message when I updated my MiKTeX. Now when i run my document using TeXworks it gives me this error message.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! siunitx error: "support-outdated"
!
! Support package expl3 too old.
!
! See the siunitx documentation for further information.
!
! For immediate help type H <return>.
!...............................................

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Error after MiKTeX Update

Post by josephwright »

You need to install l3kernel and l3packages, and remove expl3 and xpackages. There was some rearrangement of the organisation of LaTeX3 material, and MiKTeX does not do this automatically.
Joseph Wright
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Error after MiKTeX Update

Post by localghost »

I can confirm this problem since I did an update this morning. I guess this error occurs due to bad packaging by the MiKTeX maintainer (which sometimes happens). The l3kernel package for MiKTeX has been packaged yesterday, thus should have been included into yesterday's update. Obviously this didn't happen.


Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: Error after MiKTeX Update

Post by ghostanime2001 »

so what do I do now?
tafi
Posts: 42
Joined: Sat May 07, 2011 12:01 am

Re: Error after MiKTeX Update

Post by tafi »

I too can confirm that this is not an isolated incident (MikTeX 2.9). I've just updated (about 30 minutes ago) and have the same problem and the same messages.

However, a previous update (a week, or so, ago) already removed expl3, so I don't really understand the reason for the error.

Though there was no information available about the change I did figure out what I needed and I already have l3packages, l3kernel and l3experimental installed. Yet I still get this error with the newly updated siunitx.
tafi
Posts: 42
Joined: Sat May 07, 2011 12:01 am

Re: Error after MiKTeX Update

Post by tafi »

I see now what Thorsten was getting at. MikTeX has updated siunitx but not the required dependencies (namely l3kernel and l3packages) which leads to this error.

For me the problem is solved by finding the latest versions of these and installing them manually. Here is what I did:

1) I went to each of the following:
http://ctan.org/tex-archive/macros/late ... b/l3kernel
http://ctan.org/tex-archive/macros/late ... l3packages
and downloaded zip files of the latest builds for each (NB: obviously we can't get them from MikTeX or else we already would have),

2) unzipped each of the folders,

3) ran latex on each of the .ins files from a command wiindow (eg: latex l3.ins),

4) copied the produced .sty files to <miketex dir>\tex\latex\l3kernel and <miketex dir>\tex\latex\l3packages (for the later there are subfolders for each of the .sty files),

5) ran update of the file name database (FNDB) in Settings(Admin).

Now the very latest packages are in and I can compile my documents once more.
Last edited by tafi on Wed Jul 13, 2011 6:13 am, edited 2 times in total.
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: Error after MiKTeX Update

Post by ghostanime2001 »

I ended up removing miketex from my computer and re-installing and then tried updating again and didn't get the error anymore. This happend with me last time was another update and I had to update siunitx and I did and then when i ran my compiled document in texcenter it gave me so BS error but a different one (can't remember what it was) but I also had to reinstall my whole distribution again. This is the second time where I've tried everything to fix the error but ... unsuccessful. Reinstalling everything fixes everything. Maybe there's a major bug or something that doesn't remove l3 packages and kernal another person commented on my post ??
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: Error after MiKTeX Update

Post by ghostanime2001 »

LOL! i didn't know how to do that! :(
tafi
Posts: 42
Joined: Sat May 07, 2011 12:01 am

Error after MiKTeX Update

Post by tafi »

Neither did I, until I looked it up with Mr Google 20 minutes ago....

Thorsten provided the necessary hint
localghost wrote:The l3kernel package for MiKTeX has been packaged yesterday, thus should have been included into yesterday's update. Obviously this didn't happen
Which meant that the latest versions had to be out there somewhere, just not from MikTeX. CTAN is where it all originates.

There is always more than one way of skinning a cat.
ghostanime2001
Posts: 402
Joined: Fri May 20, 2011 9:41 am

Re: Error after MiKTeX Update

Post by ghostanime2001 »

I like cats btw :(
Post Reply