Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Packaging] Can't find ubuntu packages for libarrow v12 since release of v13 #37346

Closed
taschik opened this issue Aug 23, 2023 · 3 comments
Closed

Comments

@taschik
Copy link

taschik commented Aug 23, 2023

Describe the bug, including details regarding any error messages, version, and platform.

Hi,

I used to install libarrow using the "latest" tag our ubuntu servers

      - name: Install Dependent Libraries for libarrow and postgres
        run: |
          # Install libarrow
          sudo apt install -y -V ca-certificates lsb-release wget
          wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
          sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
          sudo apt-get update -y
          sudo apt-get install -y libpq-dev libarrow-dev libarrow-glib-dev libparquet-glib-dev libgirepository-1.0-1 libgirepository1.0-dev

However, with the release of v13, this doesn't work anymore. I would like to continue using v12 but https://apache.jfrog.io/ui/native/arrow/ubuntu/ contains only latest and https://arrow.apache.org/release/12.0.0.html points to the same page. Are v12 packages not being build anymore? Where could I find v12 deb packages?

Are their any plans to bump the ruby libs as well? The most recent still requires only v12 of arrow.

Component(s)

Continuous Integration

@taschik
Copy link
Author

taschik commented Aug 23, 2023

I was able to solve it by using the following configuration:

      - name: Install Dependent Libraries for libarrow and postgres
        run: |
          # Install libarrow
          sudo apt install -y -V ca-certificates lsb-release wget
          sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 91D18FCF079F8007
          sudo add-apt-repository "deb [trusted=yes] https://apache.jfrog.io/artifactory/arrow/ubuntu/ focal main"
          wget https://apache.jfrog.io/artifactory/arrow/ubuntu/pool/focal/main/a/apache-arrow-apt-source/apache-arrow-apt-source_12.0.1-1_all.deb
          sudo apt install -y -V ./apache-arrow-apt-source_12.0.1-1_all.deb
          sudo apt-get update -y
          sudo apt-get install -y libpq-dev libarrow-dev libarrow-glib-dev libparquet-glib-dev libgirepository-1.0-1 libgirepository1.0-dev

@taschik taschik closed this as completed Aug 23, 2023
@kou
Copy link
Member

kou commented Aug 24, 2023

this doesn't work anymore.

What does mean?
"libarrow-dev 13.0.0-1 not 12.0.1-1 is installed"?

I don't think that #37346 (comment) is the right solution. For example,

          sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 91D18FCF079F8007
          sudo add-apt-repository "deb [trusted=yes] https://apache.jfrog.io/artifactory/arrow/ubuntu/ focal main"

is meaningless because sudo apt install -y -V ./apache-arrow-apt-source_12.0.1-1_all.deb prepares the Apache Arrow's APT repository.

I think that the following is what you want:

          # Install libarrow
          sudo apt install -y -V ca-certificates lsb-release wget
          wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
          sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
          sudo apt-get update -y
          arrow_version=12.0.1-1
          sudo apt-get install -y libpq-dev libarrow-dev=${arrow_version} libarrow-glib-dev=${arrow_version} gir1.2-arrow-1.0=${arrow_version} libparquet-dev=${arrow_version} libparquet-glib-dev=${arrow_version} gir1.2-parquet-1.0=${arrow_version}

We'll push red-* gems after Homebrew/homebrew-core#140253 and msys2/MINGW-packages#18242 are merged.

@kou kou changed the title Can't find ubuntu packages for libarrow v12 since release of v13 [Packaging] Can't find ubuntu packages for libarrow v12 since release of v13 Aug 24, 2023
@taschik
Copy link
Author

taschik commented Aug 24, 2023

You are right @kou. Thanks so much for pointing this out. It is cleaner and works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants