Skip to content

Commit c38cc5b

Browse files
authored
apacheGH-47323: [R][CI] test-r-rhub-debian-gcc-release-custom-ccache nightly job fails due to update in Debian (apache#47611)
### Rationale for this change CI job fails due to Debian version name update ### What changes are included in this PR? Update CI job to allow such changes ### Are these changes tested? I'll submit the job on Crossbow ### Are there any user-facing changes? Nah * GitHub Issue: apache#47323 Authored-by: Nic Crane <[email protected]> Signed-off-by: Nic Crane <[email protected]>
1 parent 235032a commit c38cc5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/scripts/r_docker_configure.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ elif [ "`which zypper`" ]; then
4141
PACKAGE_MANAGER=zypper
4242
else
4343
PACKAGE_MANAGER=apt-get
44-
apt-get update
44+
apt-get update --allow-releaseinfo-change # flag needed for when debian version changes
4545
fi
4646

4747
# Enable ccache if requested based on http://dirk.eddelbuettel.com/blog/2017/11/27/
@@ -79,11 +79,11 @@ $PACKAGE_MANAGER install -y rsync cmake curl
7979
# This is only for rhub/clang20. If we change the base image from rhub/clang20,
8080
# we need to update this part too.
8181
if [ "$R_UPDATE_CLANG" = true ]; then
82-
apt update -y
82+
apt update -y --allow-releaseinfo-change # flag needed for when debian version changes
8383
apt install -y gnupg
8484
curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | gpg --dearmor -o /etc/apt/trusted.gpg.d/llvm.gpg
8585
echo "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-20 main" > /etc/apt/sources.list.d/llvm20.list
86-
apt update -y
86+
apt update -y --allow-releaseinfo-change # flag needed for when debian version changes
8787
apt install -y clang-20 lld-20
8888
fi
8989

0 commit comments

Comments
 (0)