<div dir="ltr"><div>Hi -- I followed the instructions at <a href="https://tug.org/texinfohtml/kpathsea.html">https://tug.org/texinfohtml/kpathsea.html</a> to use the command<br><br>ls -LAR ./ >ls-R<br><br>to generate a ls-R file. However, this didn't work, and debugging with -kpathsea-debug=32 displayed messages of the form<br><br>kdebug:db:match(/usr/local/texlive/2015basic/texmf-local//tex/latex/lastpage/lastpage.sty,/usr/local/texlive/2015basic/texmf-local/tex/latex//) = 0<br><br>where the double slash prevented the match -- the correpsonding entry in the ls-R file was<br><br>.//tex/latex/lastpage:<br><br>The problem was resolved when I used<br><br>ls -LAR . >ls-R<br><br>instead (without the extra slash) -- the entry in the ls-R file then becomes<br><br>./tex/latex/lastpage:<br><br>(again without the extra slash), and the match succeeds:<br><br>kdebug:db:match(/usr/local/texlive/2015basic/texmf-local/tex/latex/lastpage/lastpage.sty,/usr/local/texlive/2015basic/texmf-local/tex/latex//) = 1<br><br></div><div><br></div></div>