Skip to content

Installing arrow on debian (stretch) #5507

Description

@tschm

Hi, I am trying to install arrow in a rocker container. I struggle to install plasma but I have managed parquet. The error message I get is:

Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libplasma-dev : Depends: libarrow-cuda-dev (= 0.14.1-1) but it is not going to be installed
Depends: libplasma14 (= 0.14.1-1) but it is not going to be installed
libplasma-glib-dev : Depends: libarrow-cuda-glib-dev (= 0.14.1-1) but it is not going to be installed
Depends: libplasma-glib14 (= 0.14.1-1) but it is not going to be installed
Depends: gir1.2-plasma-1.0 (= 0.14.1-1) but it is not going to be installed

The dockerfile I am using is

# rocker/rstudio is based on debian
RUN apt update && \
apt install -y -V apt-transport-https curl gnupg lsb-release apt-utils locate
RUN echo "deb http://deb.debian.org/debian $(lsb_release --codename --short)-backports main" >> /etc/apt/sources.list.d/backports.list && \
curl --output /usr/share/keyrings/apache-arrow-keyring.gpg https://dl.bintray.com/apache/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-keyring.gpg && \
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/apache-arrow-keyring.gpg] https://dl.bintray.com/apache/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/ $(lsb_release --codename --short) main" >> /etc/apt/sources.list.d/apache-arrow.list && \
echo "deb-src [signed-by=/usr/share/keyrings/apache-arrow-keyring.gpg] https://dl.bintray.com/apache/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/ $(lsb_release --codename --short) main" >> /etc/apt/sources.list.d/apache-arrow.list && \
curl https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - && \
echo "deb http://apt.llvm.org/$(lsb_release --codename --short)/ llvm-toolchain-$(lsb_release --codename --short)-7 main" >> /etc/apt/sources.list.d/llvm.list && \
echo "deb-src http://apt.llvm.org/$(lsb_release --codename --short)/ llvm-toolchain-$(lsb_release --codename --short)-7 main" >> /etc/apt/sources.list.d/llvm.list
RUN apt update && \
apt install -y -V -f \
libarrow-dev \
libarrow-glib-dev \
libarrow-flight-dev \
libparquet-dev \
libparquet-glib-dev \
libxml2-dev
RUN install2.r --error \
--deps TRUE \
arrow
# this doesn't quite work yet
RUN apt install -y -V -f \
libgandiva-dev \
libgandiva-glib-dev \
libplasma-dev \
libplasma-glib-dev

[https://github.com/rocker-org/rocker-versioned/issues/163#issuecomment-535110987]

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions