ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mtxrun fails after update to ubuntu 11.04
       [not found] <mailman.3.1302688802.27750.ntg-context@ntg.nl>
@ 2011-05-07 12:49 ` S Barmeier
  2011-05-08 11:26   ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: S Barmeier @ 2011-05-07 12:49 UTC (permalink / raw)
  To: ntg-context

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

oad otf        > loading:
/usr/local/texlive/2010/texmf-dist/fonts/opentype/public/lm/lmmono8-regular.otf
(hash: lmmono8-regular)
load otf        > font loaded okay
load otf        > file size: 66268
load otf        > enhancing ...
load otf        > saving in cache:
/usr/local/texlive/2010/texmf-dist/fonts/opentype/public/lm/lmmono8-regular.otf
report | lua: compiling
/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma
into
/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tmctexluac:
cannot open
/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma:
No such file or directory
luac: cannot open
/usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma:
No such file or directory

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.

Any help will be much appreciated.

Thank you,
Severin
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mtxrun fails after update to ubuntu 11.04
  2011-05-07 12:49 ` mtxrun fails after update to ubuntu 11.04 S Barmeier
@ 2011-05-08 11:26   ` Taco Hoekwater
  2011-05-08 12:32     ` S Barmeier
  0 siblings, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2011-05-08 11:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: S Barmeier

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
>
> oad otf>  loading:
> /usr/local/texlive/2010/texmf-dist/fonts/opentype/public/lm/lmmono8-regular.otf
> (hash: lmmono8-regular)
> load otf>  font loaded okay
> load otf>  file size: 66268
> load otf>  enhancing ...
> load otf>  saving in cache:
> /usr/local/texlive/2010/texmf-dist/fonts/opentype/public/lm/lmmono8-regular.otf
> report | lua: compiling
> /usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma
> into
> /usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tmctexluac:
> cannot open
> /usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma:
> No such file or directory
> luac: cannot open
> /usr/local/texlive/2010/texmf-cache/luatex-cache/context/7625073666844883aa0723352de861b9/fonts/otf/lmmono8-regular.tma:
> No such file or directory
>
> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mtxrun fails after update to ubuntu 11.04
  2011-05-08 11:26   ` Taco Hoekwater
@ 2011-05-08 12:32     ` S Barmeier
  2011-05-08 19:58       ` Pontus Lurcock
  0 siblings, 1 reply; 4+ messages in thread
From: S Barmeier @ 2011-05-08 12:32 UTC (permalink / raw)
  To: Taco Hoekwater, mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mtxrun fails after update to ubuntu 11.04
  2011-05-08 12:32     ` S Barmeier
@ 2011-05-08 19:58       ` Pontus Lurcock
  0 siblings, 0 replies; 4+ messages in thread
From: Pontus Lurcock @ 2011-05-08 19:58 UTC (permalink / raw)
  To: ntg-context

On Sun 08 May 2011, S Barmeier wrote:

> Is there any savvy way to update to a newer release of ConTeXt
> without meddling too much with the existing texlive installation?

The best way is to install the minimals; it's a complete stand-alone
ConTeXt system that can go anywhere (including your home directory),
so you don't risk any complex interactions with existing TeX
installations.

Pont
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-08 19:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.3.1302688802.27750.ntg-context@ntg.nl>
2011-05-07 12:49 ` mtxrun fails after update to ubuntu 11.04 S Barmeier
2011-05-08 11:26   ` Taco Hoekwater
2011-05-08 12:32     ` S Barmeier
2011-05-08 19:58       ` Pontus Lurcock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).