dl-docker
dl-docker copied to clipboard
libopenjpeg2 in ubuntu xenial not exist
Step 10/33 : RUN apt-get update && apt-get install -y bc build-essential cmake curl g++ gfortran git libffi-dev libfreetype6-dev libhdf5-dev libjpeg-dev liblcms2-dev libopenblas-dev liblapack-dev libopenjpeg2 libpng12-dev libssl-dev libtiff5-dev libwebp-dev libzmq3-dev nano pkg-config python-dev software-properties-common unzip vim wget zlib1g-dev && apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/* && update-alternatives --set libblas.so.3 /usr/lib/openblas-base/libblas.so.3 ---> Running in 20afcdaeed4d Ign:1 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 InRelease Get:2 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Release [564 B] Get:3 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Release.gpg [819 B] Get:4 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB] Get:5 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Packages [22.5 kB] Get:6 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB] Get:7 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB] Get:8 http://archive.ubuntu.com/ubuntu xenial/main Sources [1103 kB] Get:9 http://archive.ubuntu.com/ubuntu xenial/restricted Sources [5179 B] Get:10 http://archive.ubuntu.com/ubuntu xenial/universe Sources [9802 kB] Get:11 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB] Get:12 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB] Get:13 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB] Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [272 kB] Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [1866 B] Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [147 kB] Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [578 kB] Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [11.7 kB] Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [479 kB] Get:20 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [65.4 kB] Get:21 http://archive.ubuntu.com/ubuntu xenial-security/restricted Sources [1866 B] Get:22 http://archive.ubuntu.com/ubuntu xenial-security/universe Sources [18.6 kB] Get:23 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [251 kB] Get:24 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [11.7 kB] Get:25 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [83.4 kB] Fetched 24.7 MB in 8s (2909 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package libopenjpeg2 The command '/bin/sh -c apt-get update && apt-get install -y bc build-essential cmake curl g++ gfortran git libffi-dev libfreetype6-dev libhdf5-dev libjpeg-dev liblcms2-dev libopenblas-dev liblapack-dev libopenjpeg2 libpng12-dev libssl-dev libtiff5-dev libwebp-dev libzmq3-dev nano pkg-config python-dev software-properties-common unzip vim wget zlib1g-dev && apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/* && update-alternatives --set libblas.so.3 /usr/lib/openblas-base/libblas.so.3' returned a non-zero code: 100
http://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=libopenjpeg2&searchon=all
In Xenial the package is libopenjpeg5 NOT 2. If you change it in the Dockerfile the install will move forward.