kou commented on code in PR #48892:
URL: https://github.com/apache/arrow/pull/48892#discussion_r2706149498


##########
dev/release/verify-apt.sh:
##########
@@ -265,65 +265,37 @@ fi
 
 echo "::group::Downgrade Gandiva"
 ${APT_INSTALL} --allow-downgrades \
-  gir1.2-arrow-1.0=${previous_package_version} \
-  gir1.2-gandiva-1.0=${previous_package_version} \
-  libarrow${previous_major_version}00=${previous_package_version} \
-  libarrow-acero${previous_major_version}00=${previous_package_version} \
   libarrow-acero-dev=${previous_package_version} \
-  libarrow-compute${previous_major_version}00=${previous_package_version} \
   libarrow-compute-dev=${previous_package_version} \
   libarrow-dev=${previous_package_version} \
-  libarrow-glib${previous_major_version}00=${previous_package_version} \
   libarrow-glib-dev=${previous_package_version} \
-  libgandiva${previous_major_version}00=${previous_package_version} \
   libgandiva-dev=${previous_package_version} \
-  libgandiva-glib${previous_major_version}00=${previous_package_version} \
   libgandiva-glib-dev=${previous_package_version} \
-  libparquet${previous_major_version}00=${previous_package_version} \
   libparquet-dev=${previous_package_version}
 echo "::endgroup::"
 
 echo "::group::Downgrade Apache Arrow Flight SQL"
 ${APT_INSTALL} --allow-downgrades \
-  gir1.2-arrow-1.0=${previous_package_version} \
-  gir1.2-arrow-flight-1.0=${previous_package_version} \
-  gir1.2-arrow-flight-sql-1.0=${previous_package_version} \
-  libarrow${previous_major_version}00=${previous_package_version} \
-  libarrow-acero${previous_major_version}00=${previous_package_version} \
   libarrow-acero-dev=${previous_package_version} \
-  libarrow-compute${previous_major_version}00=${previous_package_version} \
   libarrow-compute-dev=${previous_package_version} \
   libarrow-dev=${previous_package_version} \
-  libarrow-flight${previous_major_version}00=${previous_package_version} \
   libarrow-flight-dev=${previous_package_version} \
-  libarrow-flight-glib${previous_major_version}00=${previous_package_version} \
   libarrow-flight-glib-dev=${previous_package_version} \
   libarrow-flight-sql-dev=${previous_package_version} \
   libarrow-flight-sql-glib-dev=${previous_package_version} \
-  libarrow-glib${previous_major_version}00=${previous_package_version} \
   libarrow-glib-dev=${previous_package_version}
 echo "::endgroup::"
 
 echo "::group::Downgrade Apache Arrow Dataset"
 ${APT_INSTALL} --allow-downgrades \
-  gir1.2-arrow-1.0=${previous_package_version} \
-  gir1.2-arrow-dataset-1.0=${previous_package_version} \
-  gir1.2-parquet-1.0=${previous_package_version} \
-  libarrow${previous_major_version}00=${previous_package_version} \
-  libarrow-acero${previous_major_version}00=${previous_package_version} \
   libarrow-acero-dev=${previous_package_version} \
-  libarrow-compute${previous_major_version}00=${previous_package_version} \
   libarrow-compute-dev=${previous_package_version} \
-  libarrow-dataset${previous_major_version}00=${previous_package_version} \
   libarrow-dataset-dev=${previous_package_version} \
   libarrow-dataset-glib${previous_major_version}00=${previous_package_version} 
\

Review Comment:
   Oh, good catch!
   
   It's the same reason as the `gir` ones. The previous `gir1.2-XXX` and the 
current `gir1.2-XXX` can co-exist because they have different package names 
(`gir1.2-XXX-23.0` and `gir1.2-XXX-24.0`). `libarrow-XXX` already uses 
different package names for the previous `libarrow-XXX` and the current 
`libarrow-XXX` (`libarrow2300` and `libarrow2400`). So `libarrow-XXX` also can 
co-exist. We don't need to downgrade packages that have different names 
explicitly because they can co-exist.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to