New issue by danjenson on void-packages repository https://github.com/void-linux/void-packages/issues/39522 Description: ### Is this a new report? Yes ### System Info Void 5.18.19_1 x86_64 GenuineIntel notuptodate rFFFF ### Package(s) Affected texlive-bin-2022_2 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? Not that I'm aware of. ### Expected behaviour Installing a package with `/opt/texlive/2022/bin/x86_64-linux/tlmgr` will allow pdflatex, latexmk, etc to use that package in compilation. ### Actual behaviour It fails to find all `tlmgr` installed packages. ### Steps to reproduce 1. `sudo /opt/texlive/2022/bin/x86_64-linux/tlmgr install physics`, then check by running again to get: ``` tlmgr: package repository https://mirror.las.iastate.edu/tex-archive/systems/texlive/tlnet (verified) tlmgr install: package already present: physics ``` Another check: `fd physics /opt/texlive`: ``` /opt/texlive/2022/texmf-dist/doc/latex/physics/ /opt/texlive/2022/texmf-dist/doc/latex/physics/physics.pdf /opt/texlive/2022/texmf-dist/doc/latex/physics/physics.tex /opt/texlive/2022/texmf-dist/tex/latex/physics/ /opt/texlive/2022/texmf-dist/tex/latex/physics/physics.sty /opt/texlive/2022/tlpkg/tlpobj/physics.tlpobj ``` 2. Create file below. ```tex \documentclass[12pt]{article} \usepackage{physics} \begin{document} Test \end{document} ``` 3. `pdflatex t.tex` ``` Rc files read: /home/danj/.latexmkrc Latexmk: This is Latexmk, John Collins, 17 Mar. 2022. Version 4.77, version: 4.77. Latexmk: applying rule 'pdflatex'... Rule 'pdflatex': File changes, etc: Changed files, or newly in use since previous run(s): /data/repos/stats-270/t.tex Rule 'pdflatex': The following rules & subrules became out-of-date: pdflatex ------------ Run number 1 of rule 'pdflatex' ------------ ------------ Running 'pdflatex -synctex=1 -interaction=nonstopmode -shell-escape -recorder -output-directory="build" "/data/repos/stats-270/t.tex"' ------------ This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/VoidLinux) (preloaded format=pdflatex) \write18 enabled. entering extended mode (/data/repos/stats-270/t.tex LaTeX2e <2020-10-01> patch level 4 L3 programming layer <2021-02-18> (/usr/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2020/04/10 v1.4m Standard LaTeX document class (/usr/share/texmf-dist/tex/latex/base/size12.clo)) **! LaTeX Error: File `physics.sty' not found.** Type X to quit or to proceed, or enter new name. (Default extension: sty) Enter file name: ! Emergency stop. l.3 \begin {document}^^M ! ==> Fatal error occurred, no output PDF file produced! Transcript written on build/t.log. Latexmk: Getting log file 'build/t.log' Latexmk: Examining 'build/t.fls' Latexmk: Examining 'build/t.log' Latexmk: Missing input file 'physics.sty' (or dependence on it) from following: '! LaTeX Error: File `physics.sty' not found.' Latexmk: Errors, so I did not complete making targets Collected error summary (may duplicate other messages): pdflatex: Command for 'pdflatex' gave return code 1 Refer to 'build/t.log' for details Latexmk: If appropriate, the -f option can be used to get latexmk to try to force complete processing. ``` `kpsewhich -var-value=TEXMFDIST` also returns `/opt/texlive/2022/texmf-dist`, so it's unclear why tex cannot find `physics.sty`.