On 4/3/24 07:16, Peter Münster wrote: > On Tue, Apr 02 2024, Andres Conrado Montoya wrote: > >> You shouldn't run context as root in any case. > > I don’t run context as root. But I need to erase the cache in > /opt/context/tex/texmf-cache as root, because the user doesn’t have the > permission to do that.
Sorry, Peter, but I have a suspicion from what you wrote. >> mtxrun --script cache --erase && mtxrun --generate > > Thanks. It did not work after doing it as root, but then I saw, that > there is also a cache in the user home-directory, so I’ve done it as the > user too, and now it works. In principle, cache is only written to tex/texmf-cache. But I guess, when that directory cannot be written by the user, cache is written to $HOME/texmf. This may be why you get two cache directories (instead of only tex/texmf-cache). Cheers, Pablo ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________