This is an automated email from the ASF dual-hosted git repository. raulcd pushed a commit to branch maint-26.0.x in repository https://gitbox.apache.org/repos/asf/arrow.git
commit b2a1a51dd369b0f31ac00bdba65c03f59ec7df5a Author: Raúl Cumplido <[email protected]> AuthorDate: Fri Oct 23 15:55:05 2026 +0200 GH-55113: [CI][R] Install tzdata-legacy if available so tests are able to find required timezones (#55114) ### Rationale for this change GH runner upgrade from Ubuntu 24.04 to 26.04 made some R tests fail due to missing timezone. (Rhub) ### What changes are included in this PR? Install `tzdata-legacy` package if available to have the required timezone. ### Are these changes tested? Yes on CI ### Are there any user-facing changes? No ### Was AI used for this PR? In accordance to the [AI generation guidelines](https://arrow.apache.org/docs/dev/developers/overview.html#ai-generated-code), please disclose below whether and how AI was used in this PR. **PR code and description written by:** - [x] Human - [x] AI **Reviewed before submission by:** - [x] Human - [ ] AI - [ ] Not reviewed * GitHub Issue: #55113 Authored-by: Raúl Cumplido <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]> --- ci/scripts/r_docker_configure.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci/scripts/r_docker_configure.sh b/ci/scripts/r_docker_configure.sh index 014a18b2ed..7c8a7c1719 100755 --- a/ci/scripts/r_docker_configure.sh +++ b/ci/scripts/r_docker_configure.sh @@ -85,6 +85,11 @@ else "$PACKAGE_MANAGER" install -y rsync cmake curl fi +# Newer Debian/Ubuntu require tzdata-legacy for our tests, install it if available. +if [ "$PACKAGE_MANAGER" = "apt-get" ] && apt-cache show tzdata-legacy > /dev/null 2>&1; then + apt-get install -y tzdata-legacy +fi + # Update clang version to latest available. # The rhub/ubuntu-clang image ships clang-15 but CRAN's debian-clang now uses
