Thank you for your reply! mtxrun, luatools and context all --generate now, but trying to mtxrun --script fonts --list --all says it's missing a metatable (whatever that is): [...] MTXrun | fontnames: identifying tree font files with suffix afm MTXrun | fontnames: scanning /usr/local/texlive/2010/texmf for afm files MTXrun | fontnames: 1691 entries found, 8 afm files checked, 8 okay MTXrun | fontnames: scanning /usr/local/texlive/2010/texmf-dist for afm files MTXrun | fontnames: 81835 entries found, 2237 afm files checked, 2237 okay MTXrun | fontnames: identifying tree font files with suffix AFM MTXrun | fontnames: scanning /usr/local/texlive/2010/texmf for AFM files MTXrun | fontnames: 1691 entries found, 0 AFM files checked, 0 okay MTXrun | fontnames: scanning /usr/local/texlive/2010/texmf-dist for AFM files MTXrun | fontnames: 81835 entries found, 0 AFM files checked, 0 okay MTXrun | fontnames: 2245 tree files identified, 139 skipped, 100 duplicates, 2106 hash entries added, runtime 2.310 seconds MTXrun | fontnames: identifying system font files with suffix otf MTXrun | fontnames: adding path from OSFONTDIR: /usr/share/fonts MTXrun | fontnames: adding path from OSFONTDIR: /usr/local/share/fonts MTXrun | fontnames: adding path from OSFONTDIR: /usr/share/fonts MTXrun | fontnames: adding path from OSFONTDIR: /usr/local/share/fonts MTXrun | fontnames: globbing path /usr/share/fonts/**.otf/usr/local/texlive/2010/bin/x86_64-linux/mtxrun:2625: bad argument #1 to '(for generator)' (directory metatable expected, got nil) Again, many thanks. Severin P.S.: Just out of curiosity: I was under the impression that the best way to stay updated with both general TeX and ConTeXt was to run texlive 2010 and point your tlmgr to the tlcontrib repository. luatools gets updated frequently, but the ConTeXt version is from July 2010. Is there any savvy way to update to a newer release of ConTeXt without meddling too much with the existing texlive installation? On 05/08/2011 08:26 PM, Taco Hoekwater wrote:
On 05/07/2011 02:49 PM, S Barmeier wrote:
Hi,
After updating my system to ubuntu 11.04, all sorts of access permissions seem to have changed. In particular, when compiling any ConTeXt document, I get
...
Trying to mtxrun --script fonts --reload, it tells me
MTXrun | resolvers: unable to save 'files' in '/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/trees/1240e363db2f4c53de58379d2b0c6f6b.lua'
(access error) MTXrun | fontnames: unable to access database cache MTXrun | fontnames: accessing the data table failed
and similar errors. I've tried sudo mtxrun [...], but then the command is not found.
I hope the problem will be resolved by changing folder permissions, but I'm not sure which folders are affected and which I should refrain from changing.
You can change permissions of
/usr/local/texlive/2010/texmf-cache/luatex-cache/context
and everything below it, but a nicer solution is to set TEXMFCACHE.
There are various options, but the easiest is
set TEXMFCACHE=~/texmf-cache
in your shell's startup script (you have to create the path manually at first).
Best wishes, Taco