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

tree is missing on ubuntu-24.04 #9935

Closed
2 of 14 tasks
kachick opened this issue May 27, 2024 · 2 comments
Closed
2 of 14 tasks

tree is missing on ubuntu-24.04 #9935

kachick opened this issue May 27, 2024 · 2 comments
Assignees
Labels
Area: Packages awaiting-deployment Code complete; awaiting deployment and/or deployment in progress feature request OS: Ubuntu

Comments

@kachick
Copy link
Contributor

kachick commented May 27, 2024

Description

tree command is missing on ubuntu-24.04, but it is present on ubuntu-22.04 and ubuntu-20.04.
Is this an intentional change?

related issue: #9848

Workaround

Adding this step resolved my problem but added a few seconds to complete runs.

      - name: Install tree command
        run: sudo apt-get install --no-install-recommends --assume-yes tree

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

  Image: ubuntu-24.04
  Version: 20240516.4.0
  Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20240516.4/images/ubuntu/Ubuntu2404-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20240516.4

Is it regression?

https://github.com/kachick/example-tree-ubuntu-24.04-runner-image/actions/runs/9249889143/job/25442442678

Expected behavior

I can use tree command in ubuntu runner by default.

Actual behavior

tree command is missing. I need to install it with apt-get.

Repro steps

  - name: Inspect depednency
    run: |
      command -v tree
      tree --version
  - run: tree
@Alexey-Ayupov
Copy link
Collaborator

Hello @kachick, the tree is added. Will be deployed soon.

@kachick
Copy link
Contributor Author

kachick commented Jun 3, 2024

Thank you! 🙏

@kachick kachick closed this as completed Jun 3, 2024
kachick added a commit to kachick/example-tree-ubuntu-24.04-runner-image that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Packages awaiting-deployment Code complete; awaiting deployment and/or deployment in progress feature request OS: Ubuntu
Projects
None yet
Development

No branches or pull requests

4 participants