r-lib/actions

error with `setup-tinytex@v2`: Package 'texinfo' has no installation candidate

Closed this issue · 4 comments

Hi Gábor, @gaborcsardi

Describe the bug

I am using

      - name: Install TinyTex
        uses: r-lib/actions/setup-tinytex@v2

in my workflow file : https://github.com/LiNk-NY/DelayedArray/actions/runs/15167521374/workflow

which results in the error Package 'texinfo' has no installation candidate:

Run r-lib/actions/setup-tinytex@v2
  env:
    R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
    GITHUB_PAT: ***
    CRAN: https://p3m.dev/cran/__linux__/noble/latest
    BIOC_RELEASE: RELEASE_3_[2](https://github.com/LiNk-NY/DelayedArray/actions/runs/15167345481/job/42648499925#step:5:2)1
    TINYTEX_FULL_PATH: true
/usr/bin/docker exec  c42c7db[3](https://github.com/LiNk-NY/DelayedArray/actions/runs/15167345481/job/42648499925#step:5:3)5127bb7ef371a9e9014cdbf5b6e1d350d733f5a0f[4](https://github.com/LiNk-NY/DelayedArray/actions/runs/15167345481/job/42648499925#step:5:4)b0725878a232ae sh -c "cat /etc/*release | grep ^ID"
/usr/bin/sudo apt-get install -y texinfo
Reading package lists...
Building dependency tree...
Reading state information...
Package texinfo is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'texinfo' has no installation candidate

Note. I am using Ubuntu-24.04 LTS in the GHA.

Here is a link to the full job:

https://github.com/LiNk-NY/DelayedArray/actions/runs/15167521374/job/42649106005

Thanks!

Any updates on this?

FWIW, the quick fix was to install texinfo before setup-tinytex (when using the RELEASE_3_21 Bioconductor container):

      - name: Install texinfo
        run: |
            sudo apt update && sudo apt install -y \
            libtext-unidecode-perl texinfo texinfo-lib

https://github.com/LiNk-NY/DelayedArray/actions/runs/15748797328/workflow#L37-L40

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue