ruby - Unable to correct problems, you have held broken packages -


i trying install ruby on docker container , following this 1 build container. when build new image error response

the following packages have unmet dependencies: libgdbm-dev : depends: libc6-dev not going installed or                     libc-dev e: unable correct problems, have held broken packages. command '/bin/sh -c set -ex     && builddeps='      bison       libgdbm-dev         ruby    '   && apt-get update   && apt-get install -y --no-install-recommends $builddeps    && rm -rf /var/lib/apt/lists/*  && curl -fsl -o ruby.tar.gz "http://cache.ruby-   lang.org/pub/ruby/$ruby_major/ruby-$ruby_version.tar.gz"  && echo    "$ruby_download_sha256 *ruby.tar.gz" | sha256sum -c -    && mkdir -p /usr/src/ruby   && tar -xzf ruby.tar.gz -c /usr/src/ruby --strip-components=1   && rm ruby.tar.gz   && cd /usr/src/ruby     && { echo '#define enable_path_check 0'; echo; cat file.c; } > file.c.new && mv file.c.new file.c   && autoconf     && ./configure --disable-install-doc    && make -j"$(nproc)"    && make install     && apt-get purge -y --auto-remove $builddeps    && gem update --system $rubygems_version    && rm -r /usr/src/ruby' returned non-zero code: 100 

i have tried install packages replacing apt-get aptitude , seems not working , producing same response. in addition have use

from tracer0tong/android-emulator

in begining install android emulator . there other way install ruby along android? kinda helps appreciated.

take @ official docker container here if got o github dependencies are:

... run set -ex \     && builddeps=' \         bison \         libgdbm-dev \         ruby \     ' \     && apt-get update \     && apt-get install -y --no-install-recommends $builddeps \ ... 

check complete dockerfile


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -