Installing R on debian image.

61 views
Skip to first unread message

Marco van het Hoog

unread,
Mar 29, 2021, 3:49:49 PM3/29/21
to singularity
Hello ...

Is this the right group to ask for advice generating dep files?

How can I install R on a debian image?

I tried ...

apt-get -y install dirmngr --install-recommends
      apt-get -y install software-properties-common
      apt-get -y install apt-transport-https
      apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'
      add-apt-repository 'deb http://cloud.r-project.org/bin/linux/debian buster-cran35/'
      apt update
      apt-get -y install r-base
      R CMD "BiocManager::install()"

but it didn't like the apt-key entry ...

+ apt-key adv --keyserver keys.gnupg.net --recv-key E19F5F87128899B192B1A2C2AD5F960A256A04AF
Warning: apt-key output should not be parsed (stdout is not a terminal)
Executing: /tmp/apt-key-gpghome.KvinGCl5Rm/gpg.1.sh --keyserver keys.gnupg.net --recv-key E19F5F87128899B192B1A2C2AD5F960A256A04AF
gpg: keyserver receive failed: No name
FATAL: failed to execute %post proc: exit status 2
FATAL: While performing build: while running engine: while running /usr/local/libexec/singularity/bin/starter: exit status 255

Thanks.
Reply all
Reply to author
Forward
0 new messages