pbhogale / gpu-keras-rstudio

Dockerfile
MIT License
16 stars 5 forks source link

Failed to build: frontend Dialog & Failed to open the software package #7

Open MoritzFeigl opened 5 years ago

MoritzFeigl commented 5 years ago

Hi, I tried to build the docker container but it failed for 2 reasons:

  1. debconf: unable to initialize frontend: Dialog I fixed this by adding ARG DEBIAN_FRONTEND=noninteractive at the beginning of the dockerfile, after the FROM statement

  2. I get the "Failed to open the software package" Error in the line where curl is used:

Fetched 139 kB in 0s (787 kB/s) Selecting previously unselected package curl. (Reading database ... 31050 files and directories currently installed.) Preparing to unpack .../curl_7.47.0-1ubuntu2.13_amd64.deb ... Unpacking curl (7.47.0-1ubuntu2.13) ... Processing triggers for man-db (2.7.5-1) ... Setting up curl (7.47.0-1ubuntu2.13) ... Reading package lists... Done Building dependency tree
Reading state information... Done Failed to open the software package The package might be corrupted or you are not allowed to open the file. Check the permissions of the file. The command '/bin/sh -c set -e && apt-get install -y curl && curl -sS https://s3.amazonaws.com/rstudio-server/current.ver | xargs -I {} curl -sS http://download2.rstudio.org/rstudio-server-{}-amd64.deb -o /tmp/rstudio.deb && gdebi -n /tmp/rstudio.deb && rm -rf /tmp/* && apt-get -y autoremove && apt-get clean' returned a non-zero code: 1

I could not find out where this error comes from, or how to fix it. I hope that someone else has this issue too.

I work on Ubuntu 18.04.

I gladly appreciate any hints on how to fix this.