tlmgr cannot install luatexja-fontspec
Zdenek Wagner
zdenek.wagner at gmail.com
Tue Apr 22 12:41:29 CEST 2025
Hi,
your PATH setting for use with "sudo" is incorrect. It uses the Debian
TL system installed under /usr/share which can only be updated by
apt-get, not by tlmgr. Now tlmgr from Debian TL tries to fetch data
from TL by TUG and this is the reason of the version mismatch. If you
want to use TL by TUG, its binary directory must be at the beginning
of PATH for all users.
Zdeněk Wagner
https://www.zdenek-wagner.eu/
út 22. 4. 2025 v 12:00 odesílatel Haines Brown via tex-live
<tex-live at tug.org> napsal:
>
> On Tue, Apr 22, 2025 at 07:29:38AM +0000, Lars Madsen wrote:
> > You need to be more specific here.
> >
> > ".. install TeXLive 2025"
> >
> > Exactly what do you mean here? Did you manually install upstream
> > TeXLIve 2025? Or did you install via Debian?
>
> Lars, thank you for your reply.
>
> I Debian, daedalus. My installation procedure is:
>
> $ su -
> # mkdir /usr/local/share/TeXLive
> # cd /usr/local/share/TeXLive
> # wget https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
> # zcat < install-tl-unx.tar.gz | tar xf -
> # cd install-tl-2*
> # ./install-tl
>
> As the above suggests, I had root do the ñinstall, although the
> TeX system that I had working before ñwas installed by user.
>
> In options:
>
> B set binary platforms
> i, Linux on x6-86_64
>
> S set installation scheme: scheme-full
> a is default: everything
>
> C select copllections
> all are selected
>
> D set directories this sets direcxtories in /usr/local/texlive
> except TEXMFVAR to /~.texlive and TEXMFHOME for user
> specific files to ~/texmf
>
> O optiions
> P for letter size
>
> > How exactly are you running tlmgr? (with sudo?, in that case did the
> > upstream programmes actually appear in the PATH when doing sodu?)
>
> I rab wutb both su - and as user
>
> $ tlmgr install luatexja-fontspec
> (running on Debian, switching to user mode!)
> (see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)
>
> tlmgr: Local TeX Live (2022) is older than remote repository (2025).
> Cross release updates are only supported with
> update-tlmgr-latest(.sh/.exe) --update
> See https://tug.org/texlive/upgrade.html for details.
>
> $ su -
> # tlmgr install luatexja-fontspec
> (running on Debian, switching to user mode!)
> (see /usr/share/doc/texlive-base/README.tlmgr-on-Debian.md)
>
> tlmgr: Local TeX Live (2022) is older than remote repository (2025).
> Cross release updates are only supported with
> update-tlmgr-latest(.sh/.exe) --update
> See https://tug.org/texlive/upgrade.html for details.
>
> When I do $ sudo echo $PATH LaTeX does not appear in the path, but
> it never did.
>
> When I process a file, a whole series of packages are not seen,
> including layouts and lipsum which should be present.
>
> ! LaTeX Error: File `luatexja-fontspec.sty' not found.
>
> > It might seem as if you have two LaTeX installations.
>
> No, this is on a fresh install of Debian. I have .texlive in my user
> directory. It is a directory that contains teexmf-var. I have
> /usr/local/texlive that contains 2025 texmf-local,
>
> In ~.profile I have
>
> MANPATH=/usr/local/texlive/2025/texmf-dist/doc/man
> INFOPATH=/usr/local/texlive/2025/texmf-dist/doc/info
> PATH=/usr/local/texlive/2025/bin/x86_64-linux
>
> The LaTeX problem is frustrating because it keeps me from work. I'm
> consdering removing the installation I did as root and reinstall as
> user.
>
More information about the tex-live
mailing list.