I'm getting following error when trying build image (via docker-compose up). How to handle it?
update-alternatives: warning: skip creation of /usr/share/man/man1/mogrify-im6.1.gz because associated file /usr/share/man/man1/mogrify-im6.q16.1.gz (of link group mogrify-im6) doesn't exist
Setting up imagemagick (8:6.9.11.60+dfsg-1.6) ...
Processing triggers for libc-bin (2.36-9) ...
Processing triggers for ca-certificates (20230311) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Errors were encountered while processing:
libpaper1:amd64
libpaper-utils
libgs10:amd64
ghostscript
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: Service 'r3' failed to build : The command '/bin/sh -c bash -c 'mkdir -p /opt/r3/data/{certificates,files,temp,transfer}' && apt-get update && apt-get install imagemagick ghostscript postgresql-client ca-certificates -y && update-ca-certificates && if [ -f $im_policy ] ; then sed -i 's/<policy domain="coder" rights="none" pattern="PDF" \/>/<policy domain="coder" rights="read|write" pattern="PDF" \/>/g' $im_policy ; else echo no file $im_policy ; fi' returned a non-zero code: 100
OS VERSION:
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
PLATFORM: x64