Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installer-unix-vXX.tar.gz filename changed to install-unix-vXX.tar.gz #962

Closed
csoneson opened this issue Jan 27, 2025 · 5 comments
Closed
Labels
bug an unexpected problem or unintended behavior

Comments

@csoneson
Copy link

Hello,

when trying to use the setup-tinytex action (with a specific tinytex release version) on the ubuntu-24.04-arm GitHub runners, I ran into what looks like an incorrect link. More precisely (see here for the logs), it does not find a pre-built TinyTeX package, and attempts to install from source. Hence, it downloads the script where the path to the source package is set (using the prefix TINYTEX_INSTALLER="installer-unix").

Judging from the tinytex releases page, it looks like the name of this file changed from installer-unix... to install-unix... between versions 2022.04.04 and 2022.05, and consequently the requested file cannot be found by the script.

Installing the daily version of tinytex works, so it's not really an issue, but I guess it might be if a specific version is required.

@csoneson csoneson added the bug an unexpected problem or unintended behavior label Jan 27, 2025
@gaborcsardi
Copy link
Member

Are you sure that tinytex supports arm linux at all?

@csoneson
Copy link
Author

The daily version installed without complaints (logs), and it also seemed to do fine in another workflow involving building and testing an R package (logs). Beyond that, I don't know what the output would look like when it's actually used.

@gaborcsardi
Copy link
Member

Well, why not try to run it?

I would think that it does not support arm:
rstudio/tinytex-releases#37

@csoneson
Copy link
Author

Looks like it's able to create a pdf. I'll move my comment to the issue linked above, it seems the question about ARM support is not specific to the actions (and as I mentioned, as far as I had tested all worked for me, I just noticed that the file name of the installer had changed and thought I'd bring it up).

@gaborcsardi
Copy link
Member

You are right, tinytex seems to work fine on aarch64 Linux. So that's good!

However, the download URL is not up to the setup-tinytex action, we just download the installer script from https://yihui.name/gh/tinytex/tools/install-bin-unix.sh and that URL seems to be correct. Then we run the script. So it seems to me that it is better to report this to tinytex. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants