Hi Aditya, On my machine (Mac OS X) the Minimals are installed and when trying what you suggest I get the correct path: localhost:~ kavian$ luatools --locate mtxrun.lua /context-minimal/tex/texmf-context/scripts/context/lua/mtxrun.lua localhost:~ kavian$ texmfstart --locate mtxrun.lua /context-minimal/tex/texmf-context/scripts/context/lua/mtxrun.lua localhost:~ kavian$ I remember that a long time ago when I was using texlive, at some point the issues with scripts being in a "stubs" subdirectory of context appeared, but don't remember how the issue was fixed (maybe Mojca or Hans did something magic to solve it?). Best regards: OK On 16 déc. 2009, at 16:16, Aditya Mahajan wrote: > Hi, > > I have noticed that my local context update scripts were not always working correctly. In particular, the mtxrun and luatools file never got updated. The reason is the following. > > When I run mtxrun --selfupdate I get > > mtxrun --selfupdate > MTXrun | fileio: to be replaced old script > /opt/experimental/tex/texmf-linux-64/bin/mtxrun > MTXrun | fileio: using suffix based filetype 'texmfscripts' > MTXrun | fileio: checking new script > /opt/experimental/tex/texmf-context/scripts/context/stubs/mswin/mtxrun.lua > MTXrun | fileio: new script should come from scripts/context/lua > > So, mtxrun is trying to replace mtxrun from the stubs directory. In fact, if I get the same result from > > luatools --locate mtxrun.lua > /opt/experimental/tex/texmf-context/scripts/context/stubs/mswin/mtxrun.lua > > Something is wrong with the search logic as texmfstart also gets this wrong. > > texmfstart --locate mtxrun.lua > /opt/experimental/tex/texmf-context/scripts/context/stubs/mswin/mtxrun.lua% > > However, kpsewhich works correctly. > > kpsewhich mtxrun.lua > /opt/experimental/tex/texmf-context/scripts/context/lua/mtxrun.lua > > Do others also get the same result? Any idea what is going wrong here? > > Aditya > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ %%%%%%%%%%%%%%%%%% Otared Kavian Département de Mathématiques Université de Versailles Saint-Quentin Bâtiment Fermat 45 aveue des Etats Unis 78035 Versailles cedex Téléphone: +33 1 39 25 46 42 Secrétariat: +33 1 39 25 46 44 Secrétariat: +33 1 39 25 46 46 e-mail: Otared.Kavian@math.uvsq.fr