yeszao / dnmp

Docker LNMP (Nginx, PHP7/PHP5, MySQL, Redis)
https://www.awaimai.com/2120.html
MIT License
3.96k stars 1.41k forks source link

php7.3安装扩展bcmath、swoole报错 #520

Closed guoxiangqian closed 2 years ago

guoxiangqian commented 2 years ago

安装php扩展bcmath报错:

FAILED TO LIST THE WHOLE PACKAGE LIST FOR
 autoconf               dpkg-dev dpkg           file            g++             gcc             libc-dev               make             pkgconf                 re2c
ERROR: ' autoconf               dpkg-dev dpkg           file            g++             gcc             libc-dev       make             pkgconf                 re2c' is not a valid world dependency, format is name(@tag)([<>~=]version)

ERROR: apk failed;

安装php扩展swoole报错:


FAILED TO LIST THE WHOLE PACKAGE LIST FOR
 postgresql-libs libstdc++ libressl3.4-libtls c-ares

COMMAND OUTPUT:
ERROR: ' postgresql-libs libstdc++ libressl3.4-libtls c-ares' is not a valid world dependency, format is name(@tag)([<>~=]version)

ERROR: apk failed

尝试过重新build镜像,还是无法安装扩展的