综上所述,针对 "e: package 'libpng12-dev' has no installation candidate" 的问题,最直接的解决方案是将依赖从 'libpng12-dev' 替换为 'libpng-dev'。如果你正在使用Ubuntu 16.04或更高版本,这通常是必要的步骤,因为 'libpng12-dev' 在这些版本中已经不再被支持。
docker-composer 安装php报错,docker Package 'libpng12-dev' has no installation candidate RUN apt-get install -y \ libfreetype6-dev \ libjpeg62-turbo-dev \ libmcrypt-dev \ libpng12-dev \ 解决方案 libpng12-dev ---》libpng-dev
The libpng12-dev no longer has installation candidate. The correct pa… 0834588 nadav74mentioned this issueSep 27, 2019 docker-build issue: "Package 'libpng12-dev' has no installation candidate"Kitware/cdash-docker#6 Open
Trying to install this from a Dockerfile - I've already tried using libpng-dev which in turn is giving the following error: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/gd.so' - libpng16.so.16: ...
docker-composer 安装php报错,docker Package 'libpng12-dev' has no installation candidate 解决:将文件:https://github.com/fecshop/yii2_fecshop_docker/blob/master/services/php/docker/Dockerfile#L10 解决方案libpng12-dev \--->libpng-dev \ 共收...
Package 'libpng12-dev' has no installation candidate ERROR: Service 'php_fpm' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libmemcached-dev libpng12-dev sendmail && docker-php-ext-configure gd --with-...