I've run this command:
apt --fix-broken install
apt-get install libmagickcore-dev libmagickwand-dev
but still can't be installed
===========================================
this is the error log:
gir1.2-freedesktop gir1.2-gdkpixbuf-2.0 gir1.2-rsvg-2.0 gsfonts
hicolor-icon-theme imagemagick imagemagick-6-common imagemagick-6.q16
libavahi-client3 libavahi-common-data libavahi-common3 libcairo-gobject2
libcairo-script-interpreter2 libcairo2 libcairo2-dev libcups2 libdatrie1
libdjvulibre-dev libdjvulibre-text libdjvulibre21 libexif-dev libexif-doc
libexif12 libfftw3-double3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin
libgdk-pixbuf2.0-common libgdk-pixbuf2.0-dev libgraphite2-3 libgs9
libgs9-common libharfbuzz0b libidn11 libijs-0.35 libilmbase-dev libilmbase24
libjbig2dec0 liblcms2-2 liblcms2-dev liblqr-1-0 liblqr-1-0-dev
libmagick++-6-headers libmagick++-6.q16-8 libmagick++-6.q16-dev
libmagick++-dev libmagickcore-6-arch-config libmagickcore-6-headers
libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra libmagickcore-6.q16-dev
libmagickwand-6-headers libmagickwand-6.q16-6 libmagickwand-6.q16-dev
libmagickwand-dev libnetpbm10 libopenexr-dev libopenexr24 libopenjp2-7
libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils
libpaper1 libpixman-1-0 libpixman-1-dev librsvg2-2 librsvg2-common
librsvg2-dev libthai-data libthai0 libwmf-dev libwmf0.2-7 libxcb-render0
libxcb-render0-dev libxcb-shm0 libxcb-shm0-dev netpbm poppler-data
0 upgraded, 83 newly installed, 0 to remove and 0 not upgraded.
Need to get 240 kB/42.2 MB of archives.
After this operation, 140 MB of additional disk space will be used.
Ign:1 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgdk-pixbuf2.0-common all 2.40.0+dfsg-3ubuntu0.1
Ign:2 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgdk-pixbuf2.0-0 amd64 2.40.0+dfsg-3ubuntu0.1
Ign:3 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 gir1.2-gdkpixbuf-2.0 amd64 2.40.0+dfsg-3ubuntu0.1
Ign:4 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgdk-pixbuf2.0-bin amd64 2.40.0+dfsg-3ubuntu0.1
Ign:5 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgdk-pixbuf2.0-dev amd64 2.40.0+dfsg-3ubuntu0.1
Err:1 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgdk-pixbuf2.0-common all 2.40.0+dfsg-3ubuntu0.1
404 Not Found [IP: 91.189.91.39 80]
Err:2 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgdk-pixbuf2.0-0 amd64 2.40.0+dfsg-3ubuntu0.1
404 Not Found [IP: 91.189.91.39 80]
Err:3 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 gir1.2-gdkpixbuf-2.0 amd64 2.40.0+dfsg-3ubuntu0.1
404 Not Found [IP: 91.189.91.39 80]
Err:4 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgdk-pixbuf2.0-bin amd64 2.40.0+dfsg-3ubuntu0.1
404 Not Found [IP: 91.189.91.39 80]
Err:5 http://id.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgdk-pixbuf2.0-dev amd64 2.40.0+dfsg-3ubuntu0.1
404 Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://id.archive.ubuntu.com/ubuntu/pool/main/g/gdk-pixbuf/libgdk-pixbuf2.0-common_2.40.0+dfsg-3ubuntu0.1_all.deb 404 Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://id.archive.ubuntu.com/ubuntu/pool/main/g/gdk-pixbuf/libgdk-pixbuf2.0-0_2.40.0+dfsg-3ubuntu0.1_amd64.deb 404 Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://id.archive.ubuntu.com/ubuntu/pool/main/g/gdk-pixbuf/gir1.2-gdkpixbuf-2.0_2.40.0+dfsg-3ubuntu0.1_amd64.deb 404 Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://id.archive.ubuntu.com/ubuntu/pool/main/g/gdk-pixbuf/libgdk-pixbuf2.0-bin_2.40.0+dfsg-3ubuntu0.1_amd64.deb 404 Not Found [IP: 91.189.91.39 80]
E: Failed to fetch http://id.archive.ubuntu.com/ubuntu/pool/main/g/gdk-pixbuf/libgdk-pixbuf2.0-dev_2.40.0+dfsg-3ubuntu0.1_amd64.deb 404 Not Found [IP: 91.189.91.39 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
--2021-03-01 10:06:14-- http://183.235.223.101:3389/src/imagick-3.4.4.tgz
Connecting to 183.235.223.101:3389... connected.
HTTP request sent, awaiting response... 200 OK
Length: 253434 (247K) [application/octet-stream]
Saving to: ‘imagick-3.4.4.tgz’
0K .......... .......... .......... .......... .......... 20% 386K 1s
50K .......... .......... .......... .......... .......... 40% 780K 0s
100K .......... .......... .......... .......... .......... 60% 90.6M 0s
150K .......... .......... .......... .......... .......... 80% 810K 0s
200K .......... .......... .......... .......... ....... 100% 47.3M=0.3s
2021-03-01 10:06:15 (963 KB/s) - ‘imagick-3.4.4.tgz’ saved [253434/253434]
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /www/server/php/74
checking for PHP includes... -I/www/server/php/74/include/php -I/www/server/php/74/include/php/main -I/www/server/php/74/include/php/TSRM -I/www/server/php/74/include/php/Zend -I/www/server/php/74/include/php/ext -I/www/server/php/74/include/php/ext/date/lib
checking for PHP extension directory... /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902
checking for PHP installed headers prefix... /www/server/php/74/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking whether to enable the imagick extension... yes, shared
checking for pkg-config... /bin/pkg-config
checking ImageMagick MagickWand API configuration program... checking Testing /usr/local/bin/MagickWand-config... Doesn't exist
checking Testing /usr/bin/MagickWand-config... Doesn't exist
checking Testing /usr/sbin/bin/MagickWand-config... Doesn't exist
checking Testing /opt/bin/MagickWand-config... Doesn't exist
checking Testing /opt/local/bin/MagickWand-config... Doesn't exist
configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
make: *** No targets specified and no makefile found. Stop.
error