matlab-dockerfile icon indicating copy to clipboard operation
matlab-dockerfile copied to clipboard

Docker build failure for Matlab R2021a.

Open diningPhilosopher64 opened this issue 3 years ago • 0 comments

This issue occurs for MATLAB release R2021a. For R2021b, docker build works as expected.

The command I'm using to build the Dockerfile:

$…/matlab-integration-for-jupyter/matlab:   docker build --build-arg MATLAB_RELEASE=r2021a \
-t matlab-notebook_21a -f Dockerfile  .

Failure occurs at Step 20/28:


Step 20/28 : RUN export DEBIAN_FRONTEND=noninteractive &&    wget -q https://github.com/mathworks/build-glibc-bz-19329-patch/releases/download/ubuntu-focal/all-packages.tar.gz &&    tar -x -f all-packages.tar.gz     --exclude glibc-*.deb     --exclude libc6-dbg*.deb &&    apt-get install --yes --no-install-recommends ./*.deb &&    rm -fr /packages

 ---> Running in a36ca9728d8a
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:
 libc6-dev : Depends: linux-libc-dev but it is not installable
             Depends: libcrypt-dev but it is not installable
E: Unable to correct problems, you have held broken packages.


The command '/bin/bash -o pipefail -c export DEBIAN_FRONTEND=noninteractive &&    wget -q https://github.com/mathworks/build-glibc-bz-19329-patch/releases/download/ubuntu-focal/all-packages.tar.gz &&    tar -x -f all-packages.tar.gz     --exclude glibc-*.deb     --exclude libc6-dbg*.deb &&    apt-get install --yes --no-install-recommends ./*.deb &&    rm -fr /packages' returned a non-zero code: 100

diningPhilosopher64 avatar Apr 07 '22 16:04 diningPhilosopher64