Hi,
I tried to build the docker container but it failed for 2 reasons:
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
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... DoneBuilding dependency tree Reading state information... DoneFailed to open the software packageThe 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.
Hi, I tried to build the docker container but it failed for 2 reasons:
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
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.