Closed natebragg closed 6 months ago
This is more or less* expected with a major update like 2023 -> 2024. Re-running termux-install-tl
is required to install 2024 files that can be used with texlive-bin-2024.
* Probably texlive-bin 2024 would have worked with texlive 2023 if formats were re-generated, but I also changed installation path, and so the scripts failed to find include paths as in your posted error message.
See also texlive's upgrade page: https://tug.org/texlive/upgrade.html which states that re-installing is the recommended way to upgrade
While I'll admit that it's sort of reassuring that the issue is that cut and dry (and hopefully this will serve to help anyone else that comes across this issue), it would be nice if it were possible to perform this automatically, or at least somehow make the user aware of its necessity.
Automatic is difficult with an installation script, user might want to customize option (like which scheme to install). I can add some more text to postinst script about how upgrades should be done
Proper solution would be to package all of texlive's files in proper (sub)packages, but that was quite horrible to maintain when we (almost) did it that way.
Anyways, thanks for opening an issue! I am sure more people wondering the same thing will see it as well!
Problem description
Before upgrading to version 2024031 of texlive-bin, everything worked fine. After upgrading, I get the following when running
pdflatex
:I followed some suggestions from non-termux related sources (e.g.,
texhash
) to no avail.To fix it, I had to
pkg remove texlive-bin; rm -rf $PREFIX/bin/texlive/; rm -rf $PREFIX/share/texlive; pkg install texlive-bin; termux-install-tl; termux-patch-texlive; texlinks
, which seems pretty excessive.What steps will reproduce the bug?
Upgrade an existing
texlive-bin
installation. Create a.tex
file and runpdflatex
on it.What is the expected behavior?
That
pdflatex
runs as before the upgradeSystem information
termux-info: