You are not logged in.

#1 2022-04-20 18:58:36

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

tllocalmgr kpsewhich doesn't find installed package

Hi,
I recently tried installing tex packages with

tllocalmgr

the problem is that kpsewhich seems not to be able to find the installed package. See below for the output:
https://i.imgur.com/LaKSXbP.png
I read this this way: nicematrix is being installed to /usr/local/share/texmf/tex/latex/ and this whole hashing for searching is being rebuilt. After that I check with kpsewhich if it can find a preinstalled tex package which succeeds. Trying to find the newly installed package nicematrix the same way fails.

Looking into the debug output I see that /usr/local/share/texmf/ is being searched and looking into the /usr/local/share/texmf/ls-R (the file on the right side in above image) file I can see that nicematrix should be present.

Since nicematrix isn't found but should be according to the log output, I'm pretty confused. Does someone know what's going wrong here?


Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code

Last edited by Slithery (2022-04-20 19:12:15)

Offline

#2 2022-04-20 19:13:16

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: tllocalmgr kpsewhich doesn't find installed package

Please don't post images of text. Post the actual text instead...
CoC - Pasting pictures and code


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-04-20 19:25:01

Attius_Sullivan
Member
Registered: 2019-11-02
Posts: 53

Re: tllocalmgr kpsewhich doesn't find installed package

Alright, thought posting as image would be good in this case since I can highlight things this way.
Here's the output in text

$ tllocalmgr install nicematrix && sudo texhash
Initializing ...
==> ERROR: PKGBUILD does not exist.
==> WARNING: A package has already been built, installing existing package...
==> Installing package texlive-local-nicematrix with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) texlive-local-nicematrix-62660-1

Total Installed Size:  0,30 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                     [#####################################################################] 100%
(1/1) checking package integrity                                                                                   [#####################################################################] 100%
(1/1) loading package files                                                                                        [#####################################################################] 100%
(1/1) checking for file conflicts                                                                                  [#####################################################################] 100%
(1/1) checking available disk space                                                                                [#####################################################################] 100%
:: Processing package changes...
(1/1) installing texlive-local-nicematrix                                                                          [#####################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

>>> Finished. Don't forget to run 'texhash' to update your file database.
texhash: Updating /etc/texmf/ls-R...
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /usr/share/texmf/ls-R...
texhash: Updating /usr/share/texmf-dist/ls-R...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.
$ pacman -Ql texlive-local-nicematrix
texlive-local-nicematrix /usr/
texlive-local-nicematrix /usr/local/
texlive-local-nicematrix /usr/local/share/
texlive-local-nicematrix /usr/local/share/texmf/
texlive-local-nicematrix /usr/local/share/texmf/tex/
texlive-local-nicematrix /usr/local/share/texmf/tex/latex/
texlive-local-nicematrix /usr/local/share/texmf/tex/latex/nicematrix/
texlive-local-nicematrix /usr/local/share/texmf/tex/latex/nicematrix/nicematrix.sty
$ kpsewhich tikz
/usr/share/texmf-dist/tex/plain/pgf/frontendlayer/tikz.tex
$ kpsewhich -debug=2 nicematrix
kdebug:db:init(): using db file /usr/local/share/texmf/ls-R.
kdebug:db:init(): using db file /usr/share/texmf/ls-R.
kdebug:db:init(): using db file /etc/texmf/ls-R.
kdebug:db:init(): using db file /var/lib/texmf/ls-R.
kdebug:db:init(): using db file /usr/share/texmf-dist/ls-R.
kdebug:/usr/local/share/texmf/ls-R: 6 entries in 4 directories (0 hidden).
kdebug:ls-R hash table:64007 buckets, 6 nonempty (0%); 6 entries, average chain 1.0.
kdebug:/usr/share/texmf/ls-R: 20 entries in 7 directories (0 hidden).
kdebug:ls-R hash table:64007 buckets, 22 nonempty (0%); 26 entries, average chain 1.2.
kdebug:/etc/texmf/ls-R: 29 entries in 12 directories (0 hidden).
kdebug:ls-R hash table:64007 buckets, 46 nonempty (0%); 55 entries, average chain 1.2.
kdebug:/var/lib/texmf/ls-R: 149 entries in 28 directories (0 hidden).
kdebug:ls-R hash table:64007 buckets, 172 nonempty (0%); 204 entries, average chain 1.2.
kdebug:/usr/share/texmf-dist/ls-R: 30102 entries in 2202 directories (0 hidden).
kdebug:ls-R hash table:64007 buckets, 20285 nonempty (31%); 30306 entries, average chain 1.5.
$
$ cat /usr/local/share/texmf/ls-R
% ls-R -- filename database for kpathsea; do not change this line.
./:
.:
ls-R
tex


./tex:
latex

./tex/latex:
nicematrix

./tex/latex/nicematrix:
nicematrix.sty
$

Offline

Board footer

Powered by FluxBB