fix texlive/tex hang (mktexlsr)

To fix a very slow mktexlsr, look up the pathes in which your distribution put texfiles, and run for each of the directories
texhash <directory>
most probably running:
mktexlsr <directory>
also works
in archlinux the core tex files are in texlive-core

Here an example :

sudo texhash /usr/share/texmf-dist
sudo texhash /var/lib/texmf

as result a file will be created in /etc and mktexlsr should work now

Update: a missing /usr/share/texmf directory is maybe the cause for the bug in the first place (this directory is created e.g. by gnuplot (archlinux))

Advertisements

Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s