Error: tlmgr itself needs to be updated
richelbilderbeek opened this issue · comments
Dear @thomas-chauvet,
Thanks for your nice GitHub Action!
I am here to report a bug, caused by an old version of tlmgr.
When I run the Action code in .github/workflows/build_latex.yaml as from your example ((full file here)[https://github.com/richelbilderbeek/bbbq_article/blob/develop/.github/workflows/build_latex.yaml]) ...
- name: latex2pdf
uses: thomas-chauvet/latex2pdf-action@1.0.1
with:
main_latex_file: bbbq_header.tex
ctan_packages: amssymb latexsym amsmath
I get the following error (full error below):
tlmgr itself needs to be updated.
Please do this via either
tlmgr update --self
or by getting the latest updater for Unix-ish systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
Could you or I do the suggested tlmgr update --self
somewhere?
Thanks and cheers, Richel Bilderbeek
Full error message:
Run thomas-chauvet/latex2pdf-action@1.0.1
/usr/bin/docker run --name a33c1a36514e53c324ddfbe1ccd29e343722d_0d4512 --label 8a33c1 --workdir /github/workspace --rm -e GITHUB_PAT -e INPUT_MAIN_LATEX_FILE -e INPUT_CTAN_PACKAGES -e INPUT_OUTPUT_DIR -e OUTPUT_DIR -e MAIN_LATEX_FILE -e CTAN_PACKAGES -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/bbbq_article/bbbq_article":"/github/workspace" 8a33c1:a36514e53c324ddfbe1ccd29e343722d
OUTPUT_DIR:
MAIN_LATEX_FILE: bbbq_header.tex
CTAN_PACKAGES: amssymb latexsym amsmath
tlmgr: package repository https://ctan.math.illinois.edu/systems/texlive/tlnet (not verified: gpg unavailable)
tlmgr install: package already present: xetex
===============================================================================
tlmgr itself needs to be updated.
Please do this via either
tlmgr update --self
or by getting the latest updater for Unix-ish systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
and/or Windows systems:
https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exe
Then continue with other updates as usual.
===============================================================================
tlmgr: Terminating; please see warning above!
tlmgr: package repository https://mirrors.rit.edu/CTAN/systems/texlive/tlnet (not verified: gpg unavailable)
mkdir: missing operand
Try 'mkdir --help' for more information.
This is LuaHBTeX, Version 1.13.2 (TeX Live 2021)
restricted system commands enabled.
**
! End of file on the terminal... why?
https://github.com/richelbilderbeek/bbbq_article/runs/2533292717?check_suite_focus=true#step:4:16
Hello,
Thanks for reporting this. I just added the update in the the Dockerfile here.
Could you try and let me know if it works for you?
Thanks
Thanks! I will check this weekend, then get back to you :-)
I just confirmed that it worked (GitHub Actions logs here), well done and thanks!
I forgot to release the action. You can now use release 1.0.2
:)