![](https://secure.gravatar.com/avatar/1aaa8171e46f2c29d4441fa99a7fc634.jpg?s=120&d=mm&r=g)
Hi Mojca, hi everyone, can someone please help me getting mtxrun work properly on Debian again??? Ok, I have current luatex, and current context from TL2012 packaged for Debian. In Debian we have a bit a funny layout: /usr/share/texlive/texmf-dist /usr/share/texlive/texmf /usr/share/texmf /etc/texmf I have edited texmfcnf.lua which is located in /usr/share/texmf/web2c to look like (only relevant parts extracted): ... local texmflocal = "/usr/local/share/texmf"; .. TEXMFSYSVAR = "/var/lib/texmf", TEXMFVAR = "home:.texmf-var", ... TEXMFCACHE = "$TEXMFSYSVAR;$TEXMFVAR", TEXMFCONFIG = "home:texmf-config", ... TEXMFMAIN = "/usr/share/texlive/texmf", TEXMFDIST = "/usr/share/texlive/texmf-dist", TEXMFCONTEXT = "/usr/share/texmf", TEXMFLOCAL = /usr/local/share/texmf", TEXMFSYSCONFIG = "/etc/texmf", .... TEXMF = "{$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFMAIN,!!$TEXMFDIST}", (the TEMXCONFI is actually a bug and should be .texmf-config) But, mtxrun does not find anything.... # mtxrun --generate --verbose resolvers | resolving | creating instance resolvers | resolving | variable 'SELFAUTOLOC' set to '/usr/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/usr' resolvers | resolving | variable 'SELFAUTOPARENT' set to '.' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to '/usr' resolvers | resolving | resolvers | resolving | using configuration specification 'home:texmf/web2c;selfautoparent:texmf{-local,-context,}/web2c' resolvers | resolving | resolvers | resolving | unknown configuration file '/root/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file './texmf-local/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file './texmf-context/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file './texmf/web2c/texmfcnf.lua' resolvers | resolving | resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | mtxrun | runtime: 0.008 seconds # which is unlucky .... I guess I have to *edit* mtxrun to make it find the texmf.cnf files? But I have no idea what I have to do. In addition, when I do: # TEXMFCNF="/usr/share/texmf/web2c/;/etc/texmf/web2c" mtxrun --generate --verbose it find the proper texmfcnf.lua, but seems to not be interested in reading the right values from it: # TEXMFCNF="/usr/share/texmf/web2c/;/etc/texmf/web2c" mtxrun --generate --verbose resolvers | resolving | creating instance resolvers | resolving | variable 'SELFAUTOLOC' set to '/usr/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/usr' resolvers | resolving | variable 'SELFAUTOPARENT' set to '.' resolvers | resolving | variable 'TEXMFCNF' set to '/usr/share/texmf/web2c/;/etc/texmf/web2c' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to '/usr' resolvers | resolving | resolvers | resolving | using configuration specification '/usr/share/texmf/web2c/;/etc/texmf/web2c' resolvers | resolving | resolvers | resolving | found configuration file '/usr/share/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/etc/texmf/web2c/texmfcnf.lua' resolvers | resolving | resolvers | resolving | skipping configuration file '/usr/share/texmf/web2c/texmfcnf.lua' (no file) resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | mtxrun | runtime: 0.007 seconds # Any help appreciated... otherwise we continue shipping 2011 context in a broken state in Debian :-( or worse, I have to call for removal before freeze. Best wishes Norbert ------------------------------------------------------------------------ Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org} JAIST, Japan TeX Live & Debian Developer DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------ ALLTAMI (n.) The ancient art of being able to balance the hot and cold shower taps. --- Douglas Adams, The Meaning of Liff