在使用Docker 搭建LNMP环境遇到的坑:使用163的源和阿里云源都会包下面的错误
following packages have unmet dependencies:
libfreetype6-dev : Depends: zlib1g-dev but it is not going to be installed or libz-dev
libpng12-dev : Depends: zlib1g-dev but it is not going to be installed
尝试换过各种源都没能解决这个问题,最后在博文评论中找的解决方案:
更换源中科大的就解决了。
中科大源
deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian stable main contrib non-free
deb http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian stable-proposed-updates main contrib non-free