This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 874f146 chore(ci): update bookworm Dockerfile (#421)
874f146 is described below
commit 874f14648b64fa31f0425bade8112e90a1b30a96
Author: David Li <[email protected]>
AuthorDate: Mon Feb 6 19:23:38 2023 -0500
chore(ci): update bookworm Dockerfile (#421)
Debian seems to have removed sources.list in favor of sources.list.d.
Fixes #420.
---
ci/linux-packages/apt/debian-bookworm/Dockerfile | 2 +-
dev/release/verify-apt.sh | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ci/linux-packages/apt/debian-bookworm/Dockerfile
b/ci/linux-packages/apt/debian-bookworm/Dockerfile
index 289228f..aec76b7 100644
--- a/ci/linux-packages/apt/debian-bookworm/Dockerfile
+++ b/ci/linux-packages/apt/debian-bookworm/Dockerfile
@@ -26,7 +26,7 @@ RUN \
echo 'APT::Install-Recommends "false";' > \
/etc/apt/apt.conf.d/disable-install-recommends
-RUN sed -i'' -e 's/main$/main contrib non-free/g' /etc/apt/sources.list
+RUN sed -i'' -e 's/main$/main contrib non-free/g'
/etc/apt/sources.list.d/debian.sources
ARG DEBUG
RUN \
diff --git a/dev/release/verify-apt.sh b/dev/release/verify-apt.sh
index 81047df..9d1b2bd 100755
--- a/dev/release/verify-apt.sh
+++ b/dev/release/verify-apt.sh
@@ -64,6 +64,12 @@ case "${TYPE}" in
esac
case "${distribution}-${code_name}" in
+ debian-bookworm)
+ sed \
+ -i"" \
+ -e "s/ main$/ main contrib non-free/g" \
+ /etc/apt/sources.list.d/debian.sources
+ ;;
debian-*)
sed \
-i"" \