Package: python3-pyarrow Version: 23.0.1-1 Severity: serious X-Debbugs-Cc: Steffen Moeller <[email protected]>
https://ci.debian.net/packages/a/apache-arrow/testing/arm64/68733441/ ... 60s Preparing to unpack …/python3-pyarrow_23.0.1-1_arm64.deb… 60s Unpacking python3-pyarrow (23.0.1-1)… 60s dpkg: error processing archive /var/cache/apt/archives/python3-pyarrow_23.0.1-1_arm64.deb (--unpack): 60s trying to overwrite '/usr/lib/python3/dist-packages/pyarrow/libarrow_python.so.2300.1.0', which is also in package libarrow-python2300 (23.0.1-1) 60s Errors were encountered while processing: 60s /var/cache/apt/archives/python3-pyarrow_23.0.1-1_arm64.deb ... The problem is the following in debian/rules: rm -rf debian/python3-pyarrow/usr/lib/python3/dist-packages/pyarrow/libarrow_python.so.$(SOVERSION).0.0 rm -rf debian/python3-pyarrow/usr/lib/python3/dist-packages/pyarrow/libarrow_python.so.$(SOVERSION) "-f" instructs rm to silently ignore it when the file does not exist. Both fixing this issue and turning it into an error when it fails is: - rm -rf debian/python3-pyarrow/usr/lib/python3/dist-packages/pyarrow/libarrow_python.so.$(SOVERSION).0.0 - rm -rf debian/python3-pyarrow/usr/lib/python3/dist-packages/pyarrow/libarrow_python.so.$(SOVERSION) + rm debian/python3-pyarrow/usr/lib/python3/dist-packages/pyarrow/libarrow_python.so.$(SOVERSION).1.0 + rm debian/python3-pyarrow/usr/lib/python3/dist-packages/pyarrow/libarrow_python.so.$(SOVERSION) I would suggest reviewing all removals in debian/rules, e.g. whatever the problem behind rm -rf $(CURDIR)/debian/tmp/usr/lib/python3/python3.14 is, it might do the wrong thing when the package gets rebuilt for the upcoming Python 3.14 defaults transition.

