kszucs commented on a change in pull request #10786:
URL: https://github.com/apache/arrow/pull/10786#discussion_r676447537



##########
File path: dev/release/verify-yum.sh
##########
@@ -58,6 +57,8 @@ case "${distribution}-${distribution_version}" in
     have_gandiva=no
     have_python=no
     install_command="yum install -y"
+    distribution_prefix="amazon-linux"
+    amazon-linux-extras install epel -y

Review comment:
       If I remove that line I'm getting:
   
   ```
   + yum install -y 
https://apache.jfrog.io/artifactory/arrow/amazon-linux-rc/2/apache-arrow-release-latest.rpm
   Loaded plugins: ovl, priorities
   Examining /var/tmp/yum-root-BBDKLO/apache-arrow-release-latest.rpm: 
apache-arrow-release-5.0.0-1.amzn2.noarch
   Marking /var/tmp/yum-root-BBDKLO/apache-arrow-release-latest.rpm to be 
installed
   Resolving Dependencies
   --> Running transaction check
   ---> Package apache-arrow-release.noarch 0:5.0.0-1.amzn2 will be installed
   --> Processing Dependency: epel-release for package: 
apache-arrow-release-5.0.0-1.amzn2.noarch
   --> Processing Dependency: yum-utils for package: 
apache-arrow-release-5.0.0-1.amzn2.noarch
   --> Running transaction check
   ---> Package apache-arrow-release.noarch 0:5.0.0-1.amzn2 will be installed
   --> Processing Dependency: epel-release for package: 
apache-arrow-release-5.0.0-1.amzn2.noarch
   ---> Package yum-utils.noarch 0:1.1.31-46.amzn2.0.1 will be installed
   --> Processing Dependency: python-kitchen for package: 
yum-utils-1.1.31-46.amzn2.0.1.noarch
   --> Processing Dependency: libxml2-python for package: 
yum-utils-1.1.31-46.amzn2.0.1.noarch
   --> Running transaction check
   ---> Package apache-arrow-release.noarch 0:5.0.0-1.amzn2 will be installed
   --> Processing Dependency: epel-release for package: 
apache-arrow-release-5.0.0-1.amzn2.noarch
   ---> Package libxml2-python.x86_64 0:2.9.1-6.amzn2.5.4 will be installed
   ---> Package python-kitchen.noarch 0:1.1.1-5.amzn2 will be installed
   --> Processing Dependency: python-chardet for package: 
python-kitchen-1.1.1-5.amzn2.noarch
   --> Running transaction check
   ---> Package apache-arrow-release.noarch 0:5.0.0-1.amzn2 will be installed
   --> Processing Dependency: epel-release for package: 
apache-arrow-release-5.0.0-1.amzn2.noarch
   ---> Package python-chardet.noarch 0:2.2.1-1.amzn2 will be installed
   --> Finished Dependency Resolution
   Error: Package: apache-arrow-release-5.0.0-1.amzn2.noarch 
(/apache-arrow-release-latest)
              Requires: epel-release
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    ```

##########
File path: dev/release/verify-yum.sh
##########
@@ -58,6 +57,8 @@ case "${distribution}-${distribution_version}" in
     have_gandiva=no
     have_python=no
     install_command="yum install -y"
+    distribution_prefix="amazon-linux"
+    amazon-linux-extras install epel -y

Review comment:
       @kou if I remove that line I'm getting:
   
   ```
   + yum install -y 
https://apache.jfrog.io/artifactory/arrow/amazon-linux-rc/2/apache-arrow-release-latest.rpm
   Loaded plugins: ovl, priorities
   Examining /var/tmp/yum-root-BBDKLO/apache-arrow-release-latest.rpm: 
apache-arrow-release-5.0.0-1.amzn2.noarch
   Marking /var/tmp/yum-root-BBDKLO/apache-arrow-release-latest.rpm to be 
installed
   Resolving Dependencies
   --> Running transaction check
   ---> Package apache-arrow-release.noarch 0:5.0.0-1.amzn2 will be installed
   --> Processing Dependency: epel-release for package: 
apache-arrow-release-5.0.0-1.amzn2.noarch
   --> Processing Dependency: yum-utils for package: 
apache-arrow-release-5.0.0-1.amzn2.noarch
   --> Running transaction check
   ---> Package apache-arrow-release.noarch 0:5.0.0-1.amzn2 will be installed
   --> Processing Dependency: epel-release for package: 
apache-arrow-release-5.0.0-1.amzn2.noarch
   ---> Package yum-utils.noarch 0:1.1.31-46.amzn2.0.1 will be installed
   --> Processing Dependency: python-kitchen for package: 
yum-utils-1.1.31-46.amzn2.0.1.noarch
   --> Processing Dependency: libxml2-python for package: 
yum-utils-1.1.31-46.amzn2.0.1.noarch
   --> Running transaction check
   ---> Package apache-arrow-release.noarch 0:5.0.0-1.amzn2 will be installed
   --> Processing Dependency: epel-release for package: 
apache-arrow-release-5.0.0-1.amzn2.noarch
   ---> Package libxml2-python.x86_64 0:2.9.1-6.amzn2.5.4 will be installed
   ---> Package python-kitchen.noarch 0:1.1.1-5.amzn2 will be installed
   --> Processing Dependency: python-chardet for package: 
python-kitchen-1.1.1-5.amzn2.noarch
   --> Running transaction check
   ---> Package apache-arrow-release.noarch 0:5.0.0-1.amzn2 will be installed
   --> Processing Dependency: epel-release for package: 
apache-arrow-release-5.0.0-1.amzn2.noarch
   ---> Package python-chardet.noarch 0:2.2.1-1.amzn2 will be installed
   --> Finished Dependency Resolution
   Error: Package: apache-arrow-release-5.0.0-1.amzn2.noarch 
(/apache-arrow-release-latest)
              Requires: epel-release
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    ```




-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to