diff --git a/.github/workflows/package_linux.yml b/.github/workflows/package_linux.yml index 27a5a02ea115..26e051c2b57f 100644 --- a/.github/workflows/package_linux.yml +++ b/.github/workflows/package_linux.yml @@ -102,8 +102,6 @@ jobs: - amazon-linux-2023-arm64 - centos-9-stream-amd64 - centos-9-stream-arm64 - - debian-bookworm-amd64 - - debian-bookworm-arm64 - debian-trixie-amd64 - debian-trixie-arm64 - debian-forky-amd64 diff --git a/dev/release/binary-task.rb b/dev/release/binary-task.rb index 11feb4fa437f..254ca547fa0e 100644 --- a/dev/release/binary-task.rb +++ b/dev/release/binary-task.rb @@ -1428,7 +1428,6 @@ def apt_recover_repositories_dir def available_apt_targets [ - ["debian", "bookworm", "main"], ["debian", "trixie", "main"], ["debian", "forky", "main"], ["ubuntu", "jammy", "main"], @@ -2324,8 +2323,6 @@ def apt_test_targets_default # Disable arm64 targets by default for now # because they require some setups on host. [ - "debian-bookworm", - # "debian-bookworm-arm64", "debian-trixie", # "debian-trixie-arm64", "debian-forky", diff --git a/dev/release/binary/Dockerfile b/dev/release/binary/Dockerfile index bef042fb42ce..be72ecf5b645 100644 --- a/dev/release/binary/Dockerfile +++ b/dev/release/binary/Dockerfile @@ -15,9 +15,9 @@ # specific language governing permissions and limitations # under the License. -FROM debian:bookworm +FROM debian:trixie -ENV DEBIAN_FRONTEND noninteractive +ENV DEBIAN_FRONTEND=noninteractive ARG DEBUG @@ -45,8 +45,9 @@ RUN locale-gen en_US.UTF-8 RUN mkdir -p /run/sshd RUN echo "StreamLocalBindUnlink yes" >> /etc/ssh/sshd_config -ENV ARROW_USER arrow -ENV ARROW_UID 10000 +ENV \ + ARROW_USER=arrow \ + ARROW_UID=10000 RUN \ groupadd --gid ${ARROW_UID} ${ARROW_USER} && \ diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh index 9e7deb237251..f4d2800eaf0e 100755 --- a/dev/release/verify-release-candidate.sh +++ b/dev/release/verify-release-candidate.sh @@ -214,8 +214,7 @@ test_apt() { case "$(arch)" in "x86_64") - for target in "debian:bookworm" \ - "debian:trixie" \ + for target in "debian:trixie" \ "debian:forky" \ "ubuntu:jammy" \ "ubuntu:noble" \ @@ -235,8 +234,7 @@ test_apt() { done ;; "aarch64") - for target in "arm64v8/debian:bookworm" \ - "arm64v8/debian:trixie" \ + for target in "arm64v8/debian:trixie" \ "arm64v8/debian:forky" \ "arm64v8/ubuntu:jammy" \ "arm64v8/ubuntu:noble" \ diff --git a/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm-arm64/from b/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm-arm64/from deleted file mode 100644 index 022eaf29077b..000000000000 --- a/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm-arm64/from +++ /dev/null @@ -1,18 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -arm64v8/debian:bookworm diff --git a/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile b/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile deleted file mode 100644 index e3f18e6f2a21..000000000000 --- a/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile +++ /dev/null @@ -1,90 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -ARG FROM=debian:bookworm -FROM ${FROM} - -RUN \ - echo "debconf debconf/frontend select Noninteractive" | \ - debconf-set-selections - -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.d/debian.sources - -ARG DEBUG -RUN \ - quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \ - apt update ${quiet} && \ - apt install -y -V ${quiet} \ - build-essential \ - ccache \ - clang \ - cmake \ - debhelper \ - devscripts \ - gi-docgen \ - git \ - libboost-filesystem-dev \ - libbrotli-dev \ - libbz2-dev \ - libc-ares-dev \ - libcurl4-openssl-dev \ - libfaketime \ - libgirepository1.0-dev \ - libglib2.0-doc \ - libgmock-dev \ - libgoogle-glog-dev \ - libgrpc++-dev \ - libgtest-dev \ - liblz4-dev \ - libmimalloc-dev \ - libprotobuf-dev \ - libprotoc-dev \ - libre2-dev \ - libsnappy-dev \ - libssl-dev \ - libthrift-dev \ - libutf8proc-dev \ - libxxhash-dev \ - libzstd-dev \ - llvm-dev \ - lsb-release \ - meson \ - mold \ - ninja-build \ - nlohmann-json3-dev \ - pkg-config \ - protobuf-compiler-grpc \ - python3-dev \ - python3-pip \ - rapidjson-dev \ - tzdata \ - valac \ - zlib1g-dev && \ - # Ensure updating symlinks in /usr/lib/ccache/ - update-ccache-symlinks && \ - if apt list | grep '^nvidia-cuda-toolkit/'; then \ - apt install -y -V ${quiet} nvidia-cuda-toolkit; \ - fi && \ - apt clean diff --git a/dev/tasks/linux-packages/apache-arrow/debian/control.in b/dev/tasks/linux-packages/apache-arrow/debian/control.in index 21477c189981..0a82fb04ebcb 100644 --- a/dev/tasks/linux-packages/apache-arrow/debian/control.in +++ b/dev/tasks/linux-packages/apache-arrow/debian/control.in @@ -1,7 +1,7 @@ Source: apache-arrow Section: devel Priority: optional -Maintainer: Apache Arrow Developers +Maintainer: The Apache Software Foundation Build-Depends: cmake, debhelper (>= 12), diff --git a/dev/tasks/linux-packages/apache-arrow/debian/rules b/dev/tasks/linux-packages/apache-arrow/debian/rules index 6fad56e7652f..9b8a7f0ec55e 100755 --- a/dev/tasks/linux-packages/apache-arrow/debian/rules +++ b/dev/tasks/linux-packages/apache-arrow/debian/rules @@ -30,8 +30,7 @@ override_dh_auto_configure: else \ ARROW_CUDA=OFF; \ fi; \ - if [ "$(VERSION_CODENAME)" = "bookworm" ] || \ - [ "$(VERSION_CODENAME)" = "noble" ]; then \ + if [ "$(VERSION_CODENAME)" = "noble" ]; then \ : "System Abseil is too old for GCS v3"; \ absl_SOURCE=BUNDLED; \ else \ diff --git a/dev/tasks/linux-packages/package-task.rb b/dev/tasks/linux-packages/package-task.rb index 87d7cd49ed6f..0edfbf510675 100644 --- a/dev/tasks/linux-packages/package-task.rb +++ b/dev/tasks/linux-packages/package-task.rb @@ -283,8 +283,6 @@ def apt_targets_default # Disable arm64 targets by default for now # because they require some setups on host. [ - "debian-bookworm", - # "debian-bookworm-arm64", "debian-trixie", # "debian-trixie-arm64", "debian-forky",