sorry icon indicating copy to clipboard operation
sorry copied to clipboard

Docker 打包镜像报错

Open HakunamatataLeo opened this issue 5 years ago • 1 comments

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. The command '/bin/sh -c apt-get update && apt-get install -y locales locales-all ttf-wqy-microhei ffmpeg cron' returned a non-zero code: 100

HakunamatataLeo avatar Sep 09 '19 09:09 HakunamatataLeo

Though I cannot figure out clearly what is wrong, at least following changes to Dockerfile can make it work:

RUN apt-get update
RUN apt-get install -y --allow-remove-essential libncursesw5 libslang2 libtinfo5 libcaca0 libavdevice57 ffmpeg 
RUN apt-get install -y ttf-wqy-microhei cron

zhengzangw avatar Oct 27 '19 05:10 zhengzangw